diff options
author | Owen Anderson <resistor@mac.com> | 2008-09-06 01:11:01 +0000 |
---|---|---|
committer | Owen Anderson <resistor@mac.com> | 2008-09-06 01:11:01 +0000 |
commit | d41c7160d05ac9486d3ee1e7f23d2b6459294c36 (patch) | |
tree | a5af4cc8999308b60b906e4c684c8d473cc74f3f /llvm/lib/Target/PowerPC/PPCInstrBuilder.h | |
parent | 9519fb3f50fdfa49e82834fcb4fb59c6c035bea6 (diff) | |
download | bcm5719-llvm-d41c7160d05ac9486d3ee1e7f23d2b6459294c36.tar.gz bcm5719-llvm-d41c7160d05ac9486d3ee1e7f23d2b6459294c36.zip |
Fix constant pool loads, and remove broken versions of addConstantPoolReference.
llvm-svn: 55868
Diffstat (limited to 'llvm/lib/Target/PowerPC/PPCInstrBuilder.h')
-rw-r--r-- | llvm/lib/Target/PowerPC/PPCInstrBuilder.h | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/llvm/lib/Target/PowerPC/PPCInstrBuilder.h b/llvm/lib/Target/PowerPC/PPCInstrBuilder.h index edb5103875d..1de69116cd5 100644 --- a/llvm/lib/Target/PowerPC/PPCInstrBuilder.h +++ b/llvm/lib/Target/PowerPC/PPCInstrBuilder.h @@ -38,18 +38,6 @@ addFrameReference(const MachineInstrBuilder &MIB, int FI, int Offset = 0, return MIB.addFrameIndex(FI).addImm(Offset); } -/// addConstantPoolReference - This function is used to add a reference to the -/// base of a constant value spilled to the per-function constant pool. The -/// reference has base register ConstantPoolIndex offset which is retained until -/// either machine code emission or assembly output. This allows an optional -/// offset to be added as well. -/// -inline const MachineInstrBuilder& -addConstantPoolReference(const MachineInstrBuilder &MIB, unsigned CPI, - int Offset = 0) { - return MIB.addImm(Offset).addConstantPoolIndex(CPI); -} - } // End llvm namespace #endif |