Thumb2 ADR assembly parsing w/o the .w suffix.
authorJim Grosbach <grosbach@apple.com>
Thu, 15 Dec 2011 23:52:17 +0000 (23:52 +0000)
committerJim Grosbach <grosbach@apple.com>
Thu, 15 Dec 2011 23:52:17 +0000 (23:52 +0000)
llvm-svn: 146710

llvm/lib/Target/ARM/ARMInstrThumb2.td

index f8446e1..981592c 100644 (file)
@@ -4140,3 +4140,7 @@ def t2MOVsi: t2AsmPseudo<"mov${p} $Rd, $shift",
                          (ins rGPR:$Rd, t2_so_reg:$shift, pred:$p)>;
 def t2MOVSsi: t2AsmPseudo<"movs${p} $Rd, $shift",
                           (ins rGPR:$Rd, t2_so_reg:$shift, pred:$p)>;
+
+// ADR w/o the .w suffix
+def : t2InstAlias<"adr${p} $Rd, $addr",
+                  (t2ADR rGPR:$Rd, t2adrlabel:$addr, pred:$p)>;