mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-09 11:25:55 +00:00
AVX-512: Fixed compilation issue
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@201761 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -2040,8 +2040,9 @@ X86Operand *X86AsmParser::ParseATTOperand() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
bool X86AsmParser::HandleAVX512Operand(SmallVectorImpl<MCParsedAsmOperand*> &Operands,
|
bool
|
||||||
const MCParsedAsmOperand &Op) {
|
X86AsmParser::HandleAVX512Operand(SmallVectorImpl<MCParsedAsmOperand*> &Operands,
|
||||||
|
const MCParsedAsmOperand &Op) {
|
||||||
if(STI.getFeatureBits() & X86::FeatureAVX512) {
|
if(STI.getFeatureBits() & X86::FeatureAVX512) {
|
||||||
if (getLexer().is(AsmToken::LCurly)) {
|
if (getLexer().is(AsmToken::LCurly)) {
|
||||||
// Eat "{" and mark the current place.
|
// Eat "{" and mark the current place.
|
||||||
@@ -2382,11 +2383,13 @@ ParseInstruction(ParseInstructionInfo &Info, StringRef Name, SMLoc NameLoc,
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (getLexer().isNot(AsmToken::EndOfStatement))
|
if (getLexer().isNot(AsmToken::EndOfStatement))
|
||||||
return ErrorAndEatStatement(getLexer().getLoc(), "unexpected token in argument list");
|
return ErrorAndEatStatement(getLexer().getLoc(),
|
||||||
|
"unexpected token in argument list");
|
||||||
}
|
}
|
||||||
|
|
||||||
// Consume the EndOfStatement or the prefix separator Slash
|
// Consume the EndOfStatement or the prefix separator Slash
|
||||||
if (getLexer().is(AsmToken::EndOfStatement) || isPrefix && getLexer().is(AsmToken::Slash))
|
if (getLexer().is(AsmToken::EndOfStatement) ||
|
||||||
|
(isPrefix && getLexer().is(AsmToken::Slash)))
|
||||||
Parser.Lex();
|
Parser.Lex();
|
||||||
|
|
||||||
if (ExtraImmOp && isParsingIntelSyntax())
|
if (ExtraImmOp && isParsingIntelSyntax())
|
||||||
|
Reference in New Issue
Block a user