[llvm] [MIPS] Fix wrong errors being emitted when rejecting certain assembly… (PR #94695)
via llvm-commits
llvm-commits at lists.llvm.org
Sun Jun 30 19:43:09 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);
----------------
yingopq wrote:
I am not very clear about the purpose of the third parameter ParseForAllFeatures. Some other architectures do not assign a value to this parameter.
https://github.com/llvm/llvm-project/pull/94695
More information about the llvm-commits
mailing list