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:
anthony cantor 2013-08-16 02:33:06 -06:00 • committed by Siu Kwan Lam
commit aa0ee9b6a6
8 changed files with 45 additions and 28 deletions

View file

@ -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