changes to make llvmpy compatible with development branch of llvm
mostly just removing stuff and changing function prototypes. with these changes, llvmpy compiles and llvm.test() passes.
This commit is contained in:
parent
0610a27535
commit
aa0ee9b6a6
8 changed files with 45 additions and 28 deletions
2
setup.py
2
setup.py
|
|
@ -63,7 +63,7 @@ def auto_intrinsic_gen(incdir):
|
|||
print("Generate intrinsic IDs")
|
||||
from tools import intrgen
|
||||
|
||||
if llvm_version.startswith('3.3'):
|
||||
if llvm_version.startswith('3.3') or llvm_version.startswith('3.4'):
|
||||
path = "%s/llvm/IR/Intrinsics.gen" % incdir
|
||||
else:
|
||||
path = "%s/llvm/Intrinsics.gen" % incdir
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue