summaryrefslogtreecommitdiff
path: root/lib/Target/Mips/MipsRegisterInfo.h
diff options
context:
space:
mode:
authorBruno Cardoso Lopes <bruno.cardoso@gmail.com>2007-11-05 03:02:32 +0000
committerBruno Cardoso Lopes <bruno.cardoso@gmail.com>2007-11-05 03:02:32 +0000
commitc7db5618f9e5e708b87d9ae6595b3fd510a2a0c0 (patch)
tree9cec3321f14a2ac587bc43aa4f2c0114a373377d /lib/Target/Mips/MipsRegisterInfo.h
parent90a52145aba097dffcf92080975749778201f16c (diff)
downloadllvm-c7db5618f9e5e708b87d9ae6595b3fd510a2a0c0.tar.gz
llvm-c7db5618f9e5e708b87d9ae6595b3fd510a2a0c0.tar.bz2
llvm-c7db5618f9e5e708b87d9ae6595b3fd510a2a0c0.tar.xz
Added support for PIC code with "explicit relocations" *only*.
Removed all macro code for PIC (goodbye "la"). Support tested with shootout bench. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43697 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/Mips/MipsRegisterInfo.h')
-rw-r--r--lib/Target/Mips/MipsRegisterInfo.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/Target/Mips/MipsRegisterInfo.h b/lib/Target/Mips/MipsRegisterInfo.h
index 9afc3b5dba..adec3ed6e9 100644
--- a/lib/Target/Mips/MipsRegisterInfo.h
+++ b/lib/Target/Mips/MipsRegisterInfo.h
@@ -59,9 +59,7 @@ struct MipsRegisterInfo : public MipsGenRegisterInfo {
int FrameIndex) const;
MachineInstr* foldMemoryOperand(MachineInstr* MI, unsigned OpNum,
- MachineInstr* LoadMI) const {
- return 0;
- }
+ MachineInstr* LoadMI) const;
void copyRegToReg(MachineBasicBlock &MBB, MachineBasicBlock::iterator MBBI,
unsigned DestReg, unsigned SrcReg,