[all-commits] [llvm/llvm-project] 9c06b0: [AMDGPU] Refactor export instruction definitions. ...

Jay Foad via All-commits all-commits at lists.llvm.org
Wed Feb 14 07:10:16 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9c06b079cb09639f1dc5ecd1a7a193c4267b0b63
      https://github.com/llvm/llvm-project/commit/9c06b079cb09639f1dc5ecd1a7a193c4267b0b63
  Author: Jay Foad <jay.foad at amd.com>
  Date:   2024-02-14 (Wed, 14 Feb 2024)

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

  Log Message:
  -----------
  [AMDGPU] Refactor export instruction definitions. NFC. (#81738)

Using multiclasses for the Real instruction definitions has a couple of
benefits:
- It avoids repeating information that was already specified when
  defining the corresponding pseudo, like the row and done bits.
- It allows commoning up the Real definitions for architectures which
  are mostly the same, like GFX11 and GFX12.




More information about the All-commits mailing list