OSDN Git Service

Missed the _RET versions of LDMIA.
authorBill Wendling <isanbard@gmail.com>
Thu, 18 Nov 2010 19:44:29 +0000 (19:44 +0000)
committerBill Wendling <isanbard@gmail.com>
Thu, 18 Nov 2010 19:44:29 +0000 (19:44 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@119726 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/ARM/ARMLoadStoreOptimizer.cpp

index 36ce725..a544029 100644 (file)
@@ -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: