binding compiles with llvm 3.3
This commit is contained in:
parent
2338eae5f6
commit
4c1b9016fb
22 changed files with 324 additions and 119 deletions
7
setup.py
7
setup.py
|
|
@ -61,7 +61,12 @@ def auto_intrinsic_gen(incdir):
|
|||
# let's do auto intrinsic generation
|
||||
print("Generate intrinsic IDs")
|
||||
from tools import intrgen
|
||||
path = "%s/llvm/Intrinsics.gen" % incdir
|
||||
|
||||
if llvm_version >= (3, 3):
|
||||
path = "%s/llvm/IR/Intrinsics.gen" % incdir
|
||||
else:
|
||||
path = "%s/llvm/Intrinsics.gen" % incdir
|
||||
|
||||
with open('llvm/_intrinsic_ids.py', 'w') as fout:
|
||||
intrgen.gen(path, fout)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue