diff options
author | Dan Gohman <gohman@apple.com> | 2008-12-03 18:43:12 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2008-12-03 18:43:12 +0000 |
commit | 3f86b5133363b95b751cc65bf420664d70df02e1 (patch) | |
tree | a84ef66518446993bf3d89a592255c8f5e1734d8 /llvm/lib/Target/Alpha/AlphaInstrInfo.cpp | |
parent | 69cc2cbbff5232ac55a8387856b17c148e7663dd (diff) | |
download | bcm5719-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/Alpha/AlphaInstrInfo.cpp')
-rw-r--r-- | llvm/lib/Target/Alpha/AlphaInstrInfo.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/Target/Alpha/AlphaInstrInfo.cpp b/llvm/lib/Target/Alpha/AlphaInstrInfo.cpp index 7b3053e5238..bd6f2cf3e37 100644 --- a/llvm/lib/Target/Alpha/AlphaInstrInfo.cpp +++ b/llvm/lib/Target/Alpha/AlphaInstrInfo.cpp @@ -255,10 +255,10 @@ void AlphaInstrInfo::loadRegFromAddr(MachineFunction &MF, unsigned DestReg, NewMIs.push_back(MIB); } -MachineInstr *AlphaInstrInfo::foldMemoryOperand(MachineFunction &MF, - MachineInstr *MI, +MachineInstr *AlphaInstrInfo::foldMemoryOperandImpl(MachineFunction &MF, + MachineInstr *MI, const SmallVectorImpl<unsigned> &Ops, - int FrameIndex) const { + int FrameIndex) const { if (Ops.size() != 1) return NULL; // Make sure this is a reg-reg copy. |