From: Jim Grosbach Date: Thu, 15 Dec 2011 23:52:17 +0000 (+0000) Subject: Thumb2 ADR assembly parsing w/o the .w suffix. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=b6744db06f088e1c8a8563c0cb6c202de9ef8aaa;p=oota-llvm.git Thumb2 ADR assembly parsing w/o the .w suffix. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@146710 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/ARM/ARMInstrThumb2.td b/lib/Target/ARM/ARMInstrThumb2.td index f8446e14c73..981592ce2f7 100644 --- a/lib/Target/ARM/ARMInstrThumb2.td +++ b/lib/Target/ARM/ARMInstrThumb2.td @@ -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)>;