We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
llvm-tblgen
1 parent e5bfcb5 commit e5f94a3Copy full SHA for e5f94a3
tools/generate_intrinsics.py
@@ -47,10 +47,10 @@ def convert_to_string(content):
47
48
49
def extract_instrinsics_from_llvm(llvm_path, intrinsics):
50
- p = subprocess.Popen(
51
- ["llvm-tblgen", "llvm/IR/Intrinsics.td"],
52
- cwd=os.path.join(llvm_path, "llvm/include"),
53
- stdout=subprocess.PIPE)
+ command = ["llvm-tblgen", "llvm/IR/Intrinsics.td"]
+ cwd = os.path.join(llvm_path, "llvm/include")
+ print("=> Running command `{}` from `{}`".format(command, cwd))
+ p = subprocess.Popen(command, cwd=cwd, stdout=subprocess.PIPE)
54
output, err = p.communicate()
55
lines = convert_to_string(output).splitlines()
56
pos = 0
0 commit comments