mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-08-23 00:50:42 +02:00
LLVMJIT: Fix LLVM build for LLVM > 7.
The location of LLVMAddPromoteMemoryToRegisterPass moved. Author: Andres Freund Backpatch: 11, where LLVM based JIT support was added.
This commit is contained in:
parent
0171ad9308
commit
9820f5c41e
@ -34,6 +34,9 @@
|
||||
#include <llvm-c/Transforms/IPO.h>
|
||||
#include <llvm-c/Transforms/PassManagerBuilder.h>
|
||||
#include <llvm-c/Transforms/Scalar.h>
|
||||
#if LLVM_VERSION_MAJOR > 6
|
||||
#include <llvm-c/Transforms/Utils.h>
|
||||
#endif
|
||||
|
||||
|
||||
/* Handle of a module emitted via ORC JIT */
|
||||
|
Loading…
Reference in New Issue
Block a user