diff options
| author | Evan Cheng <evan.cheng@apple.com> | 2007-07-10 18:08:01 +0000 |
|---|---|---|
| committer | Evan Cheng <evan.cheng@apple.com> | 2007-07-10 18:08:01 +0000 |
| commit | 9d41b311fbb1fcfff18036b34ceb873e1d8d4f58 (patch) | |
| tree | e629dce5bb7dc88e0edbf1b7fb0b0e5561cf92c8 /llvm/lib/Target/ARM/ARMLoadStoreOptimizer.cpp | |
| parent | 0867337075cf6732e4cad6a67887157b4eadf8d0 (diff) | |
| download | bcm5719-llvm-9d41b311fbb1fcfff18036b34ceb873e1d8d4f58.tar.gz bcm5719-llvm-9d41b311fbb1fcfff18036b34ceb873e1d8d4f58.zip | |
Remove clobbersPred. Add an OptionalDefOperand to instructions which have the 's' bit.
llvm-svn: 38501
Diffstat (limited to 'llvm/lib/Target/ARM/ARMLoadStoreOptimizer.cpp')
| -rw-r--r-- | llvm/lib/Target/ARM/ARMLoadStoreOptimizer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/ARM/ARMLoadStoreOptimizer.cpp b/llvm/lib/Target/ARM/ARMLoadStoreOptimizer.cpp index 4d773343ab2..7562c5bf24d 100644 --- a/llvm/lib/Target/ARM/ARMLoadStoreOptimizer.cpp +++ b/llvm/lib/Target/ARM/ARMLoadStoreOptimizer.cpp @@ -158,7 +158,7 @@ static bool mergeOps(MachineBasicBlock &MBB, MachineBasicBlock::iterator MBBI, BuildMI(MBB, MBBI, TII->get(BaseOpc), NewBase) .addReg(Base, false, false, BaseKill).addImm(ImmedOffset) - .addImm(Pred).addReg(PredReg); + .addImm(Pred).addReg(PredReg).addReg(0); Base = NewBase; BaseKill = true; // New base is always killed right its use. } |

