summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/CellSPU/SPUInstrInfo.cpp
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2009-02-06 17:43:24 +0000
committerEvan Cheng <evan.cheng@apple.com>2009-02-06 17:43:24 +0000
commit066757eea1ee1ed24642bcc7018e54deba17a116 (patch)
treed055e6f9d993db138b95040ff656a3f13627ff9f /llvm/lib/Target/CellSPU/SPUInstrInfo.cpp
parent483377c639e47e13f4cefb390d08b4fc43607f63 (diff)
downloadbcm5719-llvm-066757eea1ee1ed24642bcc7018e54deba17a116.tar.gz
bcm5719-llvm-066757eea1ee1ed24642bcc7018e54deba17a116.zip
Move getPointerRegClass from TargetInstrInfo to TargetRegisterInfo.
llvm-svn: 63938
Diffstat (limited to 'llvm/lib/Target/CellSPU/SPUInstrInfo.cpp')
-rw-r--r--llvm/lib/Target/CellSPU/SPUInstrInfo.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/llvm/lib/Target/CellSPU/SPUInstrInfo.cpp b/llvm/lib/Target/CellSPU/SPUInstrInfo.cpp
index 46e63893ee2..559f095e7a6 100644
--- a/llvm/lib/Target/CellSPU/SPUInstrInfo.cpp
+++ b/llvm/lib/Target/CellSPU/SPUInstrInfo.cpp
@@ -53,14 +53,6 @@ SPUInstrInfo::SPUInstrInfo(SPUTargetMachine &tm)
RI(*TM.getSubtargetImpl(), *this)
{ /* NOP */ }
-/// getPointerRegClass - Return the register class to use to hold pointers.
-/// This is used for addressing modes.
-const TargetRegisterClass *
-SPUInstrInfo::getPointerRegClass() const
-{
- return &SPU::R32CRegClass;
-}
-
bool
SPUInstrInfo::isMoveInstr(const MachineInstr& MI,
unsigned& sourceReg,
OpenPOWER on IntegriCloud