[all-commits] [llvm/llvm-project] 0d1b54: [TableGen][AsmMatcher] Resolve RegClassByHwMode ki...
Alexander Richardson via All-commits
all-commits at lists.llvm.org
Tue Aug 4 12:57:35 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 0d1b54604dac73adc16af15f433ae0c92069fcc2
https://github.com/llvm/llvm-project/commit/0d1b54604dac73adc16af15f433ae0c92069fcc2
Author: Alexander Richardson <alexrichardson at google.com>
Date: 2026-08-04 (Tue, 04 Aug 2026)
Changed paths:
M llvm/test/TableGen/RegClassByHwMode.td
M llvm/utils/TableGen/AsmMatcherEmitter.cpp
Log Message:
-----------
[TableGen][AsmMatcher] Resolve RegClassByHwMode kinds for all operands
validateOperandClass() only remapped a RegClassByHwMode operand kind
when the actual parsed operand was a register. When the operand was
something else entirely (e.g. a bare immediate where a register was
expected), this fell through to the generic "Kind <= MCK_LAST_REGISTER"
diagnostic check, so we end up with a generic Match_InvalidOperand.
No test changes here, but this is needed to avoid diagnostic regressions
with the RVY load/store support (PR #177073).
Pull Request: https://github.com/llvm/llvm-project/pull/213479
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