summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/ARM/ARMInstrInfo.cpp
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2008-12-03 18:43:12 +0000
committerDan Gohman <gohman@apple.com>2008-12-03 18:43:12 +0000
commit3f86b5133363b95b751cc65bf420664d70df02e1 (patch)
treea84ef66518446993bf3d89a592255c8f5e1734d8 /llvm/lib/Target/ARM/ARMInstrInfo.cpp
parent69cc2cbbff5232ac55a8387856b17c148e7663dd (diff)
downloadbcm5719-llvm-3f86b5133363b95b751cc65bf420664d70df02e1.tar.gz
bcm5719-llvm-3f86b5133363b95b751cc65bf420664d70df02e1.zip
Split foldMemoryOperand into public non-virtual and protected virtual
parts, and add target-independent code to add/preserve MachineMemOperands. llvm-svn: 60488
Diffstat (limited to 'llvm/lib/Target/ARM/ARMInstrInfo.cpp')
-rw-r--r--llvm/lib/Target/ARM/ARMInstrInfo.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/Target/ARM/ARMInstrInfo.cpp b/llvm/lib/Target/ARM/ARMInstrInfo.cpp
index e78f2d31f17..a809a93bb77 100644
--- a/llvm/lib/Target/ARM/ARMInstrInfo.cpp
+++ b/llvm/lib/Target/ARM/ARMInstrInfo.cpp
@@ -663,10 +663,10 @@ bool ARMInstrInfo::restoreCalleeSavedRegisters(MachineBasicBlock &MBB,
return true;
}
-MachineInstr *ARMInstrInfo::foldMemoryOperand(MachineFunction &MF,
- MachineInstr *MI,
+MachineInstr *ARMInstrInfo::foldMemoryOperandImpl(MachineFunction &MF,
+ MachineInstr *MI,
const SmallVectorImpl<unsigned> &Ops,
- int FI) const {
+ int FI) const {
if (Ops.size() != 1) return NULL;
unsigned OpNum = Ops[0];
OpenPOWER on IntegriCloud