[llvm] [ARM][TableGen][MC] Change the ARM mnemonic operands to be optional for ASM parsing (PR #83436)

Alfie Richards via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 1 01:48:46 PST 2024


================
@@ -196,7 +199,7 @@ void PseudoLoweringEmitter::evaluateExpansion(Record *Rec) {
     SourceOperands[SourceInsn.Operands[i].Name] = i;
 
   LLVM_DEBUG(dbgs() << "  Operand mapping:\n");
-  for (unsigned i = 0, e = Insn.Operands.size(); i != e; ++i) {
+  for (unsigned i = 0, e = Dag->getNumArgs(); i != e; ++i) {
----------------
AlfieRichardsArm wrote:

Ah whoops. This change was submitted in this PR: https://github.com/llvm/llvm-project/pull/81605
I will remove from this one as its unrelated

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


More information about the llvm-commits mailing list