diff options
author | Evan Cheng <evan.cheng@apple.com> | 2009-06-03 07:40:47 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2009-06-03 07:40:47 +0000 |
commit | 70fd60bd57250799672378fa2f7c5e804cb3d98d (patch) | |
tree | c3bd42463eaaa09c529a5fc954a25c77c37cd8ea | |
parent | 9d5fb981b0ebc00e068b9bcb4df7388a8ea94b71 (diff) |
Temporarily revert 72756 for now.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@72757 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/Target/ARM/ARMLoadStoreOptimizer.cpp | 7 | ||||
-rw-r--r-- | test/CodeGen/ARM/str_pre-2.ll | 1 |
2 files changed, 1 insertions, 7 deletions
diff --git a/lib/Target/ARM/ARMLoadStoreOptimizer.cpp b/lib/Target/ARM/ARMLoadStoreOptimizer.cpp index 108c6dd4d6..09b8ce07d2 100644 --- a/lib/Target/ARM/ARMLoadStoreOptimizer.cpp +++ b/lib/Target/ARM/ARMLoadStoreOptimizer.cpp @@ -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; diff --git a/test/CodeGen/ARM/str_pre-2.ll b/test/CodeGen/ARM/str_pre-2.ll index e9f194574e..247465f332 100644 --- a/test/CodeGen/ARM/str_pre-2.ll +++ b/test/CodeGen/ARM/str_pre-2.ll @@ -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* |