[all-commits] [llvm/llvm-project] 56e324: [AMDGPU] Simplify GFX11/GFX12 FLAT instruction def...

Jay Foad via All-commits all-commits at lists.llvm.org
Wed Mar 20 03:04:44 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 56e32491526e21687ed1466a99ae39a9374e30b0
      https://github.com/llvm/llvm-project/commit/56e32491526e21687ed1466a99ae39a9374e30b0
  Author: Jay Foad <jay.foad at amd.com>
  Date:   2024-03-20 (Wed, 20 Mar 2024)

  Changed paths:
    M llvm/lib/Target/AMDGPU/FLATInstructions.td

  Log Message:
  -----------
  [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.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list