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 033dc1f commit d929cf8Copy full SHA for d929cf8
tools/generate_intrinsics.py
@@ -46,10 +46,10 @@ def convert_to_string(content):
46
47
48
def extract_instrinsics_from_llvm(llvm_path, intrinsics):
49
- p = subprocess.Popen(
50
- ["llvm-tblgen", "llvm/IR/Intrinsics.td"],
51
- cwd=os.path.join(llvm_path, "llvm/include"),
52
- 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)
53
output, err = p.communicate()
54
lines = convert_to_string(output).splitlines()
55
pos = 0
0 commit comments