Index: llvm/lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp =================================================================== --- llvm/lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp +++ llvm/lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp @@ -2413,9 +2413,9 @@ return MatchOperand_ParseFail; } - Parser.Lex(); // Eat identifier token. Operands.push_back(AArch64Operand::CreatePrefetch( *PRFM, Tok.getString(), S, getContext())); + Parser.Lex(); // Eat identifier token. return MatchOperand_Success; } @@ -2436,9 +2436,9 @@ return MatchOperand_ParseFail; } - Parser.Lex(); // Eat identifier token. Operands.push_back(AArch64Operand::CreatePSBHint( PSB->Encoding, Tok.getString(), S, getContext())); + Parser.Lex(); // Eat identifier token. return MatchOperand_Success; } @@ -2459,9 +2459,9 @@ return MatchOperand_ParseFail; } - Parser.Lex(); // Eat identifier token. Operands.push_back(AArch64Operand::CreateBTIHint( BTI->Encoding, Tok.getString(), S, getContext())); + Parser.Lex(); // Eat identifier token. return MatchOperand_Success; }