Skip to content

Commit aa5c9c8

Browse files
jayfoadchencha3
authored andcommitted
[AMDGPU] Simplify GFX11/GFX12 FLAT instruction definitions. NFC. (llvm#85819)
- Give the tablegen record for the Real the same name as the tablegen record for the pseudo. This removes all cases where the same instruction name has to be mentioned more than once on the definition line. - Use multiclasses for all Real definitions, to allow suffixes to be added bit by bit, e.g. first _SADDR and then _gfx11. This is a similar approach to the one used in BUFInstructions.td.
1 parent 5fa3949 commit aa5c9c8

File tree

1 file changed

+363
-368
lines changed

1 file changed

+363
-368
lines changed

0 commit comments

Comments
 (0)