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 | 3b217c6f5c21a5f16670b14e3beeaff5ee74df1c (patch) | |
tree | a5f4f018f23e1f64359fc4ad38f1304932f5e528 /lib/Target/CellSPU | |
parent | 99d6dca2f8b58c835996431cc5277dcedcf4e0a4 (diff) | |
download | external_llvm-3b217c6f5c21a5f16670b14e3beeaff5ee74df1c.zip external_llvm-3b217c6f5c21a5f16670b14e3beeaff5ee74df1c.tar.gz external_llvm-3b217c6f5c21a5f16670b14e3beeaff5ee74df1c.tar.bz2 |
Fix constant pool loads, and remove broken versions of addConstantPoolReference.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@55868 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/CellSPU')
-rw-r--r-- | lib/Target/CellSPU/SPUInstrBuilder.h | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/lib/Target/CellSPU/SPUInstrBuilder.h b/lib/Target/CellSPU/SPUInstrBuilder.h index 00721d1..5e268f8 100644 --- a/lib/Target/CellSPU/SPUInstrBuilder.h +++ b/lib/Target/CellSPU/SPUInstrBuilder.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 |