Fix for missing declaration of IntrinsicInst
This commit is contained in:
@@ -883,7 +883,7 @@ AddBitcodeToModule(const unsigned char *bitcode, int length,
|
||||
&linkError))
|
||||
Error(SourcePos(), "Error linking stdlib bitcode: %s", linkError.c_str());
|
||||
#else // LLVM 3.6+
|
||||
))
|
||||
)) {}
|
||||
#endif
|
||||
lSetInternalFunctions(module);
|
||||
if (symbolTable != NULL)
|
||||
|
||||
3
opt.cpp
3
opt.cpp
@@ -103,6 +103,9 @@
|
||||
#include <llvm/Analysis/Passes.h>
|
||||
#include <llvm/Support/raw_ostream.h>
|
||||
#include <llvm/Support/Dwarf.h>
|
||||
#if !defined(LLVM_3_2) && !defined(LLVM_3_5) && !defined(LLVM_3_4) && !defined(LLVM_3_5)
|
||||
#include <llvm/IR/IntrinsicInst.h>
|
||||
#endif
|
||||
#ifdef ISPC_IS_LINUX
|
||||
#include <alloca.h>
|
||||
#elif defined(ISPC_IS_WINDOWS)
|
||||
|
||||
Reference in New Issue
Block a user