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

Simon Tatham via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 28 04:38:06 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.
----------------
statham-arm wrote:

Yuck! Thanks for removing this too.

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


More information about the llvm-commits mailing list