Correct comment about ARM immediates using '#' not '$' and TODO for modifiers.
authorKevin Enderby <enderby@apple.com>
Tue, 13 Oct 2009 23:33:38 +0000 (23:33 +0000)
committerKevin Enderby <enderby@apple.com>
Tue, 13 Oct 2009 23:33:38 +0000 (23:33 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@84055 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/ARM/AsmParser/ARMAsmParser.cpp

index c82ab583efc7a780c5f21d06c8665d8cef04ed82..7438ea9c79f3d5d44abdf27d31e52945b8cb246c 100644 (file)
@@ -537,7 +537,8 @@ bool ARMAsmParser::ParseOperand(ARMOperand &Op) {
     if (!ParseRegisterList(Op))
       return false;
   case AsmToken::Hash:
-    // $42 -> immediate.
+    // #42 -> immediate.
+    // TODO: ":lower16:" and ":upper16:" modifiers after # before immediate
     getLexer().Lex();
     const MCExpr *Val;
     if (getParser().ParseExpression(Val))