summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJim Grosbach <grosbach@apple.com>2011-09-15 18:13:30 +0000
committerJim Grosbach <grosbach@apple.com>2011-09-15 18:13:30 +0000
commit1b69a128d6b98456c666b4031cc46c3d0fbe6177 (patch)
treec3b86bb7fac543da6b2904a8aa48eab2efde5891 /lib
parent4bab3c77102954380c923505c413a2df7aca48eb (diff)
downloadllvm-1b69a128d6b98456c666b4031cc46c3d0fbe6177.tar.gz
llvm-1b69a128d6b98456c666b4031cc46c3d0fbe6177.tar.bz2
llvm-1b69a128d6b98456c666b4031cc46c3d0fbe6177.tar.xz
Thumb2 assembly parsing and encoding for REV.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@139813 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r--lib/Target/ARM/ARMInstrThumb2.td2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Target/ARM/ARMInstrThumb2.td b/lib/Target/ARM/ARMInstrThumb2.td
index fbc95ee96c..9467f36f98 100644
--- a/lib/Target/ARM/ARMInstrThumb2.td
+++ b/lib/Target/ARM/ARMInstrThumb2.td
@@ -3841,3 +3841,5 @@ def : t2InstAlias<"push${p} $regs", (t2STMDB_UPD SP, pred:$p, reglist:$regs)>;
def : t2InstAlias<"pop${p}.w $regs", (t2LDMIA_UPD SP, pred:$p, reglist:$regs)>;
def : t2InstAlias<"pop${p} $regs", (t2LDMIA_UPD SP, pred:$p, reglist:$regs)>;
+// Alias for REV without the ".w" optional width specifier.
+def : t2InstAlias<"rev${p} $Rd, $Rm", (t2REV rGPR:$Rd, rGPR:$Rm, pred:$p)>;