summaryrefslogtreecommitdiff
path: root/lib/Target/Sparc/SparcInstrInfo.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/Sparc/SparcInstrInfo.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/Sparc/SparcInstrInfo.h')
-rw-r--r--lib/Target/Sparc/SparcInstrInfo.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/lib/Target/Sparc/SparcInstrInfo.h b/lib/Target/Sparc/SparcInstrInfo.h
index 11680c37f9..133471857b 100644
--- a/lib/Target/Sparc/SparcInstrInfo.h
+++ b/lib/Target/Sparc/SparcInstrInfo.h
@@ -88,18 +88,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;
- }
-
unsigned getGlobalBaseReg(MachineFunction *MF) const;
};