Fix breakage of LLVM 3.1.
Add LLVM version number in llvmpy.
This commit is contained in:
parent
dd32ce56b1
commit
5b6a1d75f8
7 changed files with 50 additions and 8 deletions
|
|
@ -54,12 +54,15 @@
|
|||
extern "C" {
|
||||
#endif
|
||||
|
||||
|
||||
#if LLVM_VERSION_MAJOR >= 3 && LLVM_VERSION_MINOR >= 2
|
||||
/*
|
||||
* Wraps new TargetTransformInfo(
|
||||
* TargetMachine::getScalarTargetTransformInfo,
|
||||
* TargetMachine::getVectorTargetTransformInfo)
|
||||
*/
|
||||
LLVMPassRef LLVMCreateTargetTransformInfo(LLVMTargetMachineRef tmref);
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Wraps new TargetLibraryInfo
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue