From: Jim Grosbach Date: Tue, 20 Dec 2011 22:26:38 +0000 (+0000) Subject: Move comment to appropriate place. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=3cbe43fe69680df772d83947ced97ca445861213;p=oota-llvm.git Move comment to appropriate place. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@147000 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/ARM/AsmParser/ARMAsmParser.cpp b/lib/Target/ARM/AsmParser/ARMAsmParser.cpp index 23aa0bd9fdc..94631890acc 100644 --- a/lib/Target/ARM/AsmParser/ARMAsmParser.cpp +++ b/lib/Target/ARM/AsmParser/ARMAsmParser.cpp @@ -4297,7 +4297,6 @@ bool ARMAsmParser::parseOperand(SmallVectorImpl &Operands, Error(Parser.getTok().getLoc(), "unexpected token in operand"); return true; case AsmToken::Identifier: { - // If this is VMRS, check for the apsr_nzcv operand. if (!tryParseRegisterWithWriteBack(Operands)) return false; int Res = tryParseShiftRegister(Operands); @@ -4305,6 +4304,7 @@ bool ARMAsmParser::parseOperand(SmallVectorImpl &Operands, return false; else if (Res == -1) // irrecoverable error return true; + // If this is VMRS, check for the apsr_nzcv operand. if (Mnemonic == "vmrs" && Parser.getTok().getString() == "apsr_nzcv") { S = Parser.getTok().getLoc(); Parser.Lex();