[llvm] [ARM] Add reference to `ARMAsmParser` in `ARMOperand` (PR #86110)

Alfie Richards via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 28 04:48:35 PDT 2024


================
@@ -13003,29 +13047,6 @@ unsigned ARMAsmParser::validateTargetOperandClass(MCParsedAsmOperand &AsmOp,
     if (hasV8Ops() && Op.isReg() && Op.getReg() == ARM::SP)
       return Match_Success;
     return Match_rGPR;
-  // Note: This mutates the operand which could cause issues for future
-  // matches if this one fails later.
----------------
AlfieRichardsArm wrote:

Admittedly I am responsible for this so can't take too much credit

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


More information about the llvm-commits mailing list