summaryrefslogtreecommitdiff
path: root/lib/Target/Mips/MipsInstrInfo.h
diff options
context:
space:
mode:
authorJakob Stoklund Olesen <stoklund@2pi.dk>2010-07-11 19:19:13 +0000
committerJakob Stoklund Olesen <stoklund@2pi.dk>2010-07-11 19:19:13 +0000
commit600f171486708734e2b9c9c617528cfc51c16850 (patch)
tree57d012286c0add3655cb6220fb16469da32295e9 /lib/Target/Mips/MipsInstrInfo.h
parenta66450d227d8aa6a77d9409a628615f0ea271455 (diff)
downloadllvm-600f171486708734e2b9c9c617528cfc51c16850.tar.gz
llvm-600f171486708734e2b9c9c617528cfc51c16850.tar.bz2
llvm-600f171486708734e2b9c9c617528cfc51c16850.tar.xz
RISC architectures get their memory operand folding for free.
The only folding these load/store architectures can do is converting COPY into a load or store, and the target independent part of foldMemoryOperand already knows how to do that. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@108099 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/Mips/MipsInstrInfo.h')
-rw-r--r--lib/Target/Mips/MipsInstrInfo.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/lib/Target/Mips/MipsInstrInfo.h b/lib/Target/Mips/MipsInstrInfo.h
index a8ae21ed41..d6f87f9b0c 100644
--- a/lib/Target/Mips/MipsInstrInfo.h
+++ b/lib/Target/Mips/MipsInstrInfo.h
@@ -222,18 +222,6 @@ public:
const TargetRegisterClass *RC,
const TargetRegisterInfo *TRI) const;
- virtual MachineInstr* foldMemoryOperandImpl(MachineFunction &MF,
- MachineInstr* MI,
- const SmallVectorImpl<unsigned> &Ops,
- int FrameIndex) const;
-
- virtual MachineInstr* foldMemoryOperandImpl(MachineFunction &MF,
- MachineInstr* MI,
- const SmallVectorImpl<unsigned> &Ops,
- MachineInstr* LoadMI) const {
- return 0;
- }
-
virtual
bool ReverseBranchCondition(SmallVectorImpl<MachineOperand> &Cond) const;