[llvm] r201761 - AVX-512: Fixed compilation issue
Elena Demikhovsky
elena.demikhovsky at intel.com
Wed Feb 19 23:00:11 PST 2014
Author: delena
Date: Thu Feb 20 01:00:10 2014
New Revision: 201761
URL: http://llvm.org/viewvc/llvm-project?rev=201761&view=rev
Log:
AVX-512: Fixed compilation issue
Modified:
llvm/trunk/lib/Target/X86/AsmParser/X86AsmParser.cpp
Modified: llvm/trunk/lib/Target/X86/AsmParser/X86AsmParser.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/AsmParser/X86AsmParser.cpp?rev=201761&r1=201760&r2=201761&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/AsmParser/X86AsmParser.cpp (original)
+++ llvm/trunk/lib/Target/X86/AsmParser/X86AsmParser.cpp Thu Feb 20 01:00:10 2014
@@ -2040,8 +2040,9 @@ X86Operand *X86AsmParser::ParseATTOperan
}
}
-bool X86AsmParser::HandleAVX512Operand(SmallVectorImpl<MCParsedAsmOperand*> &Operands,
- const MCParsedAsmOperand &Op) {
+bool
+X86AsmParser::HandleAVX512Operand(SmallVectorImpl<MCParsedAsmOperand*> &Operands,
+ const MCParsedAsmOperand &Op) {
if(STI.getFeatureBits() & X86::FeatureAVX512) {
if (getLexer().is(AsmToken::LCurly)) {
// Eat "{" and mark the current place.
@@ -2382,11 +2383,13 @@ ParseInstruction(ParseInstructionInfo &I
}
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
- if (getLexer().is(AsmToken::EndOfStatement) || isPrefix && getLexer().is(AsmToken::Slash))
+ if (getLexer().is(AsmToken::EndOfStatement) ||
+ (isPrefix && getLexer().is(AsmToken::Slash)))
Parser.Lex();
if (ExtraImmOp && isParsingIntelSyntax())
More information about the llvm-commits
mailing list