Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit9820f5c

Browse files
committed
LLVMJIT: Fix LLVM build for LLVM > 7.
The location of LLVMAddPromoteMemoryToRegisterPass moved.Author: Andres FreundBackpatch: 11, where LLVM based JIT support was added.
1 parent0171ad9 commit9820f5c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

‎src/backend/jit/llvm/llvmjit.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,9 @@
3434
#include<llvm-c/Transforms/IPO.h>
3535
#include<llvm-c/Transforms/PassManagerBuilder.h>
3636
#include<llvm-c/Transforms/Scalar.h>
37+
#ifLLVM_VERSION_MAJOR>6
38+
#include<llvm-c/Transforms/Utils.h>
39+
#endif
3740

3841

3942
/* Handle of a module emitted via ORC JIT */

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp