Skip to content

Commit

Permalink
Ensure it is not pseudo
Browse files Browse the repository at this point in the history
Signed-off-by: Afonso Oliveira <[email protected]>
  • Loading branch information
AFOliveira committed Dec 23, 2024
1 parent e4e57d2 commit 6f06288
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ext/auto-inst/test_parsing.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,9 @@ def _find_matching_instruction(self, yaml_instr_name):
asm_string = value.get('AsmString', '').lower().strip()
if not asm_string:
continue
is_pseudo = value.get('isPseudo', "")
if is_pseudo == 1:
continue
base_asm_name = asm_string.split()[0]
if base_asm_name == yaml_instr_name:
return key
Expand Down

0 comments on commit 6f06288

Please sign in to comment.