summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2010-11-18 19:44:29 +0000
committerBill Wendling <isanbard@gmail.com>2010-11-18 19:44:29 +0000
commit707120047e0107cb15dd4bbb31613df129b13c7a (patch)
tree71b4d635c9f74bfd5abe1c7cc9d302a1e98f31c0
parent8b3ca6216d62bf3f729c2e122dcfeb7c4d7500dc (diff)
downloadexternal_llvm-707120047e0107cb15dd4bbb31613df129b13c7a.zip
external_llvm-707120047e0107cb15dd4bbb31613df129b13c7a.tar.gz
external_llvm-707120047e0107cb15dd4bbb31613df129b13c7a.tar.bz2
Missed the _RET versions of LDMIA.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@119726 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/Target/ARM/ARMLoadStoreOptimizer.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Target/ARM/ARMLoadStoreOptimizer.cpp b/lib/Target/ARM/ARMLoadStoreOptimizer.cpp
index 36ce725..a544029 100644
--- a/lib/Target/ARM/ARMLoadStoreOptimizer.cpp
+++ b/lib/Target/ARM/ARMLoadStoreOptimizer.cpp
@@ -212,10 +212,12 @@ namespace llvm {
AMSubMode getLoadStoreMultipleSubMode(int Opcode) {
switch (Opcode) {
default: llvm_unreachable("Unhandled opcode!");
+ case ARM::LDMIA_RET:
case ARM::LDMIA:
case ARM::LDMIA_UPD:
case ARM::STMIA:
case ARM::STMIA_UPD:
+ case ARM::t2LDMIA_RET:
case ARM::t2LDMIA:
case ARM::t2LDMIA_UPD:
case ARM::t2STMIA: