[llvm] [MIPS] Fix wrong errors being emitted when rejecting certain assembly… (PR #94695)
Jesse D via llvm-commits
llvm-commits at lists.llvm.org
Thu Aug 22 14:04:12 PDT 2024
================
@@ -6410,7 +6410,7 @@ bool MipsAsmParser::parseOperand(OperandVector &Operands, StringRef Mnemonic) {
// Check if the current operand has a custom associated parser, if so, try to
// custom parse the operand, or fallback to the general approach.
- ParseStatus Res = MatchOperandParserImpl(Operands, Mnemonic);
+ ParseStatus Res = MatchOperandParserImpl(Operands, Mnemonic, true);
----------------
jdeguire wrote:
I added a comment here to explain what the third parameter does. Hopefully that is helpful.
https://github.com/llvm/llvm-project/pull/94695
More information about the llvm-commits
mailing list