summaryrefslogtreecommitdiff
path: root/lib/Target/PowerPC/PPCInstrBuilder.h
diff options
context:
space:
mode:
authorOwen Anderson <resistor@mac.com>2008-09-06 01:11:01 +0000
committerOwen Anderson <resistor@mac.com>2008-09-06 01:11:01 +0000
commit3b217c6f5c21a5f16670b14e3beeaff5ee74df1c (patch)
treea5f4f018f23e1f64359fc4ad38f1304932f5e528 /lib/Target/PowerPC/PPCInstrBuilder.h
parent99d6dca2f8b58c835996431cc5277dcedcf4e0a4 (diff)
downloadllvm-3b217c6f5c21a5f16670b14e3beeaff5ee74df1c.tar.gz
llvm-3b217c6f5c21a5f16670b14e3beeaff5ee74df1c.tar.bz2
llvm-3b217c6f5c21a5f16670b14e3beeaff5ee74df1c.tar.xz
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/PowerPC/PPCInstrBuilder.h')
-rw-r--r--lib/Target/PowerPC/PPCInstrBuilder.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/lib/Target/PowerPC/PPCInstrBuilder.h b/lib/Target/PowerPC/PPCInstrBuilder.h
index edb5103875..1de69116cd 100644
--- a/lib/Target/PowerPC/PPCInstrBuilder.h
+++ b/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