Skip to content

Commit

Permalink
[Clang] Refactor diagnostics for SME builtins. (#78258)
Browse files Browse the repository at this point in the history
The arm_sme.td file was still using `IsSharedZA` and `IsPreservesZA`,
which should be changed to match the new state attributes added in
#76971.

This patch adds `IsInZA`, `IsOutZA` and `IsInOutZA` as the state for the
Clang builtins and fixes up the code in SemaChecking and SveEmitter to
match.

Note that the code is written in such a way that it can be easily
extended with ZT0 state (to follow in a future patch).
  • Loading branch information
sdesmalen-arm committed Jan 19, 2024
1 parent e89a7c4 commit 40a631f
Show file tree
Hide file tree
Showing 5 changed files with 329 additions and 319 deletions.

0 comments on commit 40a631f

Please sign in to comment.