[llvm] [MIR] Support symbolic inline asm operands (PR #185893)

Jay Foad via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 12 04:48:13 PDT 2026


================
@@ -2997,6 +3102,8 @@ bool MIParser::parseMachineOperand(const unsigned OpCode, const unsigned OpIdx,
   case MIToken::NamedVirtualRegister:
     return parseRegisterOperand(Dest, TiedDefIdx);
   case MIToken::IntegerLiteral:
+    if (IsInlineAsmOperand)
+      return parseInlineAsmOperand(Dest);
----------------
jayfoad wrote:

This part seems pointless? It just calls parseImmediateOperand anyway.

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


More information about the llvm-commits mailing list