Temporarily revert 72756 for now.
authorEvan Cheng <evan.cheng@apple.com>
Wed, 3 Jun 2009 07:40:47 +0000 (07:40 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Wed, 3 Jun 2009 07:40:47 +0000 (07:40 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@72757 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/ARM/ARMLoadStoreOptimizer.cpp
test/CodeGen/ARM/str_pre-2.ll

index 108c6dd4d6b46eb416968babb0fed7d5eecd805f..09b8ce07d2227d31aa846f0e32e149d7d0c728ad 100644 (file)
@@ -709,13 +709,6 @@ bool ARMLoadStoreOpt::LoadStoreMultipleOpti(MachineBasicBlock &MBB) {
 
         // RS may be pointing to an instruction that's deleted. 
         RS->skipTo(prior(MBBI));
-      } else if (NumMemOps == 1) {
-        // Try folding preceeding/trailing base inc/dec into the single
-        // load/store.
-        if (mergeBaseUpdateLoadStore(MBB, MemOps[0].MBBI, TII, Advance, MBBI)) {
-          ++NumMerges;
-          RS->skipTo(prior(MBBI));
-        }
       }
 
       CurrBase = 0;
index e9f194574e43eb222c7102196dafb4ac489dd7ef..247465f33201850eea3cec005c67f10cdc997f88 100644 (file)
@@ -1,5 +1,6 @@
 ; RUN: llvm-as < %s | llc -mtriple=arm-linux-gnu | grep {str.*\\!}
 ; RUN: llvm-as < %s | llc -mtriple=arm-linux-gnu | grep {ldr.*\\\[.*\], #+4}
+; XFAIL: *
 
 @b = external global i64*