Skip to content

Commit

Permalink
Add missing identity functions
Browse files Browse the repository at this point in the history
This change adds four missing identity functions to the identity_funcs list.
These omissions caused certain operands to be incorrectly rendered in the
syntax field of the JSON output.

This update resolves those problems and helps prevent other potential errors
in the JSON generation process.
  • Loading branch information
Linda-Njau authored and ThinkOpenly committed Oct 30, 2024
1 parent a373c98 commit 7692de3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/sail_json_backend/json.ml
Original file line number Diff line number Diff line change
Expand Up @@ -483,6 +483,10 @@ let identity_funcs =
"freg_or_reg_name";
"vreg_name";
"maybe_vmask";
"sew_flag";
"maybe_lmul_flag";
"maybe_ta_flag";
"maybe_ma_flag";
]

let defunction f n =
Expand Down

0 comments on commit 7692de3

Please sign in to comment.