diff options
author | Jim Grosbach <grosbach@apple.com> | 2011-10-27 17:33:59 +0000 |
---|---|---|
committer | Jim Grosbach <grosbach@apple.com> | 2011-10-27 17:33:59 +0000 |
commit | 88484c00307274568ab068909cb38ecaedd41cbf (patch) | |
tree | 01110b69f62a932557318f91b2d17290d28c093c /lib/Target | |
parent | 3529c53d2f07bb283e990d1678962f1b5eba9ba4 (diff) | |
download | llvm-88484c00307274568ab068909cb38ecaedd41cbf.tar.gz llvm-88484c00307274568ab068909cb38ecaedd41cbf.tar.bz2 llvm-88484c00307274568ab068909cb38ecaedd41cbf.tar.xz |
Thumb2 t2LDMDB[_UPD] assembly parsing to recognize .w suffix.
rdar://10348844
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143110 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target')
-rw-r--r-- | lib/Target/ARM/ARMInstrThumb2.td | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/Target/ARM/ARMInstrThumb2.td b/lib/Target/ARM/ARMInstrThumb2.td index cef4c7b645..7d98182f7a 100644 --- a/lib/Target/ARM/ARMInstrThumb2.td +++ b/lib/Target/ARM/ARMInstrThumb2.td @@ -3944,6 +3944,12 @@ 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)>; +// LDMDB/LDMDB_UPD aliases w/ the optional .w suffix +def : t2InstAlias<"ldmdb${p}.w $Rn, $regs", + (t2LDMDB GPR:$Rn, pred:$p, reglist:$regs)>; +def : t2InstAlias<"ldmdb${p}.w $Rn!, $regs", + (t2LDMDB_UPD GPR:$Rn, pred:$p, reglist:$regs)>; + // Alias for REV/REV16/REVSH without the ".w" optional width specifier. def : t2InstAlias<"rev${p} $Rd, $Rm", (t2REV rGPR:$Rd, rGPR:$Rm, pred:$p)>; def : t2InstAlias<"rev16${p} $Rd, $Rm", (t2REV16 rGPR:$Rd, rGPR:$Rm, pred:$p)>; |