diff options
author | Jim Grosbach <grosbach@apple.com> | 2011-12-20 22:26:38 +0000 |
---|---|---|
committer | Jim Grosbach <grosbach@apple.com> | 2011-12-20 22:26:38 +0000 |
commit | 3cbe43fe69680df772d83947ced97ca445861213 (patch) | |
tree | ee1f6f3e33a04c557b4ee35bdf223bdf64af12f7 /lib/Target/ARM/AsmParser | |
parent | 990d639f552308220dae062661fa3ba074d7150c (diff) | |
download | external_llvm-3cbe43fe69680df772d83947ced97ca445861213.zip external_llvm-3cbe43fe69680df772d83947ced97ca445861213.tar.gz external_llvm-3cbe43fe69680df772d83947ced97ca445861213.tar.bz2 |
Move comment to appropriate place.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@147000 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/ARM/AsmParser')
-rw-r--r-- | lib/Target/ARM/AsmParser/ARMAsmParser.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/ARM/AsmParser/ARMAsmParser.cpp b/lib/Target/ARM/AsmParser/ARMAsmParser.cpp index 23aa0bd..9463189 100644 --- a/lib/Target/ARM/AsmParser/ARMAsmParser.cpp +++ b/lib/Target/ARM/AsmParser/ARMAsmParser.cpp @@ -4297,7 +4297,6 @@ bool ARMAsmParser::parseOperand(SmallVectorImpl<MCParsedAsmOperand*> &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<MCParsedAsmOperand*> &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(); |