Unverified Commit 56e32491 authored by Jay Foad's avatar Jay Foad Committed by GitHub
Browse files

[AMDGPU] Simplify GFX11/GFX12 FLAT instruction definitions. NFC. (#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.
parent 27534d69
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment