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

Valery Pykhtin via All-commits all-commits at lists.llvm.org
Mon Sep 21 06:46:14 PDT 2026


  Branch: refs/heads/users/vpykhtin/amdgpu-asmparser-nomods-align-aware
  Home:   https://github.com/llvm/llvm-project
  Commit: 5f8ab4686a08e7e9af88324c8d6deabfc18f7937
      https://github.com/llvm/llvm-project/commit/5f8ab4686a08e7e9af88324c8d6deabfc18f7937
  Author: Valery Pykhtin <valery.pykhtin at amd.com>
  Date:   2026-09-21 (Mon, 21 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: 7e47ea236427884ff669a9c0e44050f676c35c2e
      https://github.com/llvm/llvm-project/commit/7e47ea236427884ff669a9c0e44050f676c35c2e
  Author: Valery Pykhtin <valery.pykhtin at amd.com>
  Date:   2026-09-21 (Mon, 21 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: 995b5ee432cf66bfc52a27469f9bdd0507b2bd8c
      https://github.com/llvm/llvm-project/commit/995b5ee432cf66bfc52a27469f9bdd0507b2bd8c
  Author: Valery Pykhtin <valery.pykhtin at amd.com>
  Date:   2026-09-21 (Mon, 21 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/c643ca5ed891...995b5ee432cf

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