Update extraction of builtins from llvm-project
This commit is contained in:
parent
94e38002bf
commit
08df4751b7
1 changed files with 1 additions and 1 deletions
|
|
@ -67,7 +67,7 @@ def extract_instrinsics_from_llvm(llvm_path, intrinsics):
|
|||
pos += 1
|
||||
if line == "}":
|
||||
break
|
||||
entries = re.findall('string GCCBuiltinName = "(\\w+)";', content)
|
||||
entries = re.findall('string ClangBuiltinName = "(\\w+)";', content)
|
||||
current_arch = re.findall('string TargetPrefix = "(\\w+)";', content)
|
||||
if len(entries) == 1 and len(current_arch) == 1:
|
||||
current_arch = current_arch[0]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue