[all-commits] [llvm/llvm-project] 78d8ce: [AMDGPU] Require explicit immediate offsets for SG...

Ivan Kosarev via All-commits all-commits at lists.llvm.org
Wed Jan 24 03:46:17 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 78d8ce316ff6f06f58a7f3eb7f633c4bf3bf3285
      https://github.com/llvm/llvm-project/commit/78d8ce316ff6f06f58a7f3eb7f633c4bf3bf3285
  Author: Ivan Kosarev <ivan.kosarev at amd.com>
  Date:   2024-01-24 (Wed, 24 Jan 2024)

  Changed paths:
    M llvm/lib/Target/AMDGPU/SIInstrInfo.td
    M llvm/lib/Target/AMDGPU/SMInstructions.td

  Log Message:
  -----------
  [AMDGPU] Require explicit immediate offsets for SGPR+IMM SMEM instructions. (#79131)

As otherwise SGPR+IMM instructions are not distinguishable to SGPR-only
ones in AsmParser, leading to ambiguities.

GFX12 doesn't have special SGPR-only variants, so we still allow
optional immediate offsets for the subtarget.

Also rename the offset operand classes while there.

Part of <https://github.com/llvm/llvm-project/issues/69256>.




More information about the All-commits mailing list