Displaying 3 results from an estimated 3 matches for "matchoperand_parsefail".
2018 Sep 28
3
error: expected memory with 32-bit signed offset
...ected token in
argument list
gslbx $2,0($3,$4)
^
So I just changed MipsAsmParser::parseMemOffset :
if (Parser.getTok().isNot(AsmToken::RParen)) {
- Error(Parser.getTok().getLoc(), "')' expected");
- return MatchOperand_ParseFail;
+ if (hasLoongson3A()) {
+ if (Parser.getTok().isNot(AsmToken::Comma)) {
+ Error(Parser.getTok().getLoc(), "',' expected");
+ return MatchOperand_ParseFail;
+ }
+
+ Parser.Lex(); // Eat the ',' token.
+
+ Res = parseAnyRegister(Operands);...
2013 Feb 05
2
[LLVMdev] AsmParser for backend
...&Inst,
unsigned &ErrorInfo, bool matchingInlineAsm,
unsigned VariantID = 0);
enum OperandMatchResultTy {
MatchOperand_Success, // operand matched successfully
MatchOperand_NoMatch, // operand did not match
MatchOperand_ParseFail // operand matched but had errors
};
OperandMatchResultTy MatchOperandParserImpl(
SmallVectorImpl<MCParsedAsmOperand*> &Operands,
StringRef Mnemonic);
OperandMatchResultTy tryCustomParseOperand(
SmallVectorImpl<MCParsedAsmOperand*> &Operands,
unsigned MCK...
2013 Feb 05
0
[LLVMdev] AsmParser for backend
...unsigned &ErrorInfo, bool
matchingInlineAsm,
> unsigned VariantID = 0);
>
> enum OperandMatchResultTy {
> MatchOperand_Success, // operand matched successfully
> MatchOperand_NoMatch, // operand did not match
> MatchOperand_ParseFail // operand matched but had errors
> };
> OperandMatchResultTy MatchOperandParserImpl(
> SmallVectorImpl<MCParsedAsmOperand*> &Operands,
> StringRef Mnemonic);
> OperandMatchResultTy tryCustomParseOperand(
> SmallVectorImpl<MCParsedAsmOperand*> &...