[llvm-branch-commits] [llvm] [AMDGPU] Route no-modifier reg-or-inline AsmParser operands through HwMode predicate (PR #221989)

Valery Pykhtin via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Wed Sep 9 04:48:51 PDT 2026


================
@@ -450,6 +450,10 @@ class AMDGPUOperand : public MCParsedAsmOperand {
     return isRegOrInline(RCID, type) && !hasModifiers();
   }
 
+  bool isRegOrInlineNoModsByHwMode(unsigned RCByHwModeIdx, MVT type) const {
----------------
vpykhtin wrote:

Renamed to isRegOrInlineNoModsTarget, propagated this style to other names.

https://github.com/llvm/llvm-project/pull/221989


More information about the llvm-branch-commits mailing list