projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6494409
)
Thumb2 ADR assembly parsing w/o the .w suffix.
author
Jim Grosbach
<grosbach@apple.com>
Thu, 15 Dec 2011 23:52:17 +0000
(23:52 +0000)
committer
Jim Grosbach
<grosbach@apple.com>
Thu, 15 Dec 2011 23:52:17 +0000
(23:52 +0000)
llvm-svn: 146710
llvm/lib/Target/ARM/ARMInstrThumb2.td
patch
|
blob
|
history
diff --git
a/llvm/lib/Target/ARM/ARMInstrThumb2.td
b/llvm/lib/Target/ARM/ARMInstrThumb2.td
index
f8446e1
..
981592c
100644
(file)
--- a/
llvm/lib/Target/ARM/ARMInstrThumb2.td
+++ b/
llvm/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)>;