From f4fb18943ac1dc76ddf721826b5debb13d85b3e1 Mon Sep 17 00:00:00 2001 From: Elena Demikhovsky Date: Thu, 20 Feb 2014 07:00:10 +0000 Subject: [PATCH] AVX-512: Fixed compilation issue llvm-svn: 201761 --- lib/Target/X86/AsmParser/X86AsmParser.cpp | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/lib/Target/X86/AsmParser/X86AsmParser.cpp b/lib/Target/X86/AsmParser/X86AsmParser.cpp index 71cac1c6029..51d0564fd5c 100644 --- a/lib/Target/X86/AsmParser/X86AsmParser.cpp +++ b/lib/Target/X86/AsmParser/X86AsmParser.cpp @@ -2040,8 +2040,9 @@ X86Operand *X86AsmParser::ParseATTOperand() { } } -bool X86AsmParser::HandleAVX512Operand(SmallVectorImpl &Operands, - const MCParsedAsmOperand &Op) { +bool +X86AsmParser::HandleAVX512Operand(SmallVectorImpl &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 &Info, StringRef Name, SMLoc NameLoc, } 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())