[all-commits] [llvm/llvm-project] 19208c: [AMDGPU] Route no-modifier reg-or-inline AsmParser...

Valery Pykhtin via All-commits all-commits at lists.llvm.org
Thu Sep 24 04:26:04 PDT 2026


  Branch: refs/heads/users/vpykhtin/amdgpu-asmparser-nomods-align-aware
  Home:   https://github.com/llvm/llvm-project
  Commit: 19208c99654f2e6a2da8950de98d21693adf333d
      https://github.com/llvm/llvm-project/commit/19208c99654f2e6a2da8950de98d21693adf333d
  Author: Valery Pykhtin <valery.pykhtin at amd.com>
  Date:   2026-09-24 (Thu, 24 Sep 2026)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp
    M llvm/test/MC/AMDGPU/misaligned-vgpr-tuples-err.s

  Log Message:
  -----------
  [AMDGPU] Route no-modifier reg-or-inline AsmParser operands through HwMode predicate

Convert the reg-or-inline operands with no modifiers (MFMA VGPR/AGPR
sources, VCSrc, v_pk_mov_b32, VOP scalar f64) from the fixed-class
isRegOrInlineNoMods to the HwMode-aware isRegOrInlineNoModsByHwMode, so an
odd-aligned tuple is rejected at the offending operand column instead of by
the validateVGPRAlign catch-all.

Co-Authored-By: Claude <noreply at anthropic.com>


  Commit: e6fbefd08f20fbff4a09451f180876010437177c
      https://github.com/llvm/llvm-project/commit/e6fbefd08f20fbff4a09451f180876010437177c
  Author: Valery Pykhtin <valery.pykhtin at amd.com>
  Date:   2026-09-24 (Thu, 24 Sep 2026)

  Changed paths:
    M llvm/test/MC/AMDGPU/misaligned-vgpr-tuples-err.s
    M llvm/test/MC/AMDGPU/out-of-range-registers.s

  Log Message:
  -----------
  [AMDGPU] Update no-modifier operand tests for the dropped align diagnostic

The no-modifier reg-or-inline operands routed through the HwMode
predicate now report a misaligned tuple as a plain invalid operand,
matching the diagnostic dropped earlier in the stack.


  Commit: 14ae7ffdbcd43799439bd92e2b26c4e2879d7308
      https://github.com/llvm/llvm-project/commit/14ae7ffdbcd43799439bd92e2b26c4e2879d7308
  Author: Valery Pykhtin <valery.pykhtin at amd.com>
  Date:   2026-09-24 (Thu, 24 Sep 2026)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp

  Log Message:
  -----------
  [AMDGPU] Rename the no-modifier operand predicate to *Target, NFC

Match the *Target naming used for the other alignment-aware operand
predicates.


Compare: https://github.com/llvm/llvm-project/compare/995b5ee432cf...14ae7ffdbcd4

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