Skip to content

Commit 6f06288

Browse files
committed
Ensure it is not pseudo
Signed-off-by: Afonso Oliveira <[email protected]>
1 parent e4e57d2 commit 6f06288

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

ext/auto-inst/test_parsing.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,9 @@ def _find_matching_instruction(self, yaml_instr_name):
5353
asm_string = value.get('AsmString', '').lower().strip()
5454
if not asm_string:
5555
continue
56+
is_pseudo = value.get('isPseudo', "")
57+
if is_pseudo == 1:
58+
continue
5659
base_asm_name = asm_string.split()[0]
5760
if base_asm_name == yaml_instr_name:
5861
return key

0 commit comments

Comments
 (0)