summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJim Grosbach <grosbach@apple.com>2009-10-20 01:32:47 +0000
committerJim Grosbach <grosbach@apple.com>2009-10-20 01:32:47 +0000
commit34f040a575942e236dcb7e8da722851855e5902e (patch)
tree15d92c291bb462b0c4ec0f049cd4efc3059aa058
parentfa4bcaec7c43f970848d02b613c0d0e71dab6bd6 (diff)
downloadbcm5719-llvm-34f040a575942e236dcb7e8da722851855e5902e.tar.gz
bcm5719-llvm-34f040a575942e236dcb7e8da722851855e5902e.zip
Now that all ARM subtargets use frame index scavenging, the Thumb1 requires*
functions are not needed. llvm-svn: 84587
-rw-r--r--llvm/lib/Target/ARM/Thumb1RegisterInfo.cpp12
-rw-r--r--llvm/lib/Target/ARM/Thumb1RegisterInfo.h3
2 files changed, 0 insertions, 15 deletions
diff --git a/llvm/lib/Target/ARM/Thumb1RegisterInfo.cpp b/llvm/lib/Target/ARM/Thumb1RegisterInfo.cpp
index 7e1fc572df6..f548b055ca3 100644
--- a/llvm/lib/Target/ARM/Thumb1RegisterInfo.cpp
+++ b/llvm/lib/Target/ARM/Thumb1RegisterInfo.cpp
@@ -77,18 +77,6 @@ Thumb1RegisterInfo::getPhysicalRegisterRegClass(unsigned Reg, EVT VT) const {
return TargetRegisterInfo::getPhysicalRegisterRegClass(Reg, VT);
}
-bool
-Thumb1RegisterInfo::requiresRegisterScavenging(const MachineFunction &MF) const {
- return true;
-}
-
-bool
-Thumb1RegisterInfo::requiresFrameIndexScavenging(const MachineFunction &MF)
- const {
- return true;
-}
-
-
bool Thumb1RegisterInfo::hasReservedCallFrame(MachineFunction &MF) const {
const MachineFrameInfo *FFI = MF.getFrameInfo();
unsigned CFSize = FFI->getMaxCallFrameSize();
diff --git a/llvm/lib/Target/ARM/Thumb1RegisterInfo.h b/llvm/lib/Target/ARM/Thumb1RegisterInfo.h
index 570a5bc8c2e..241f1cc7ea1 100644
--- a/llvm/lib/Target/ARM/Thumb1RegisterInfo.h
+++ b/llvm/lib/Target/ARM/Thumb1RegisterInfo.h
@@ -40,9 +40,6 @@ public:
const TargetRegisterClass *
getPhysicalRegisterRegClass(unsigned Reg, EVT VT = MVT::Other) const;
- bool requiresRegisterScavenging(const MachineFunction &MF) const;
- bool requiresFrameIndexScavenging(const MachineFunction &MF) const;
-
bool hasReservedCallFrame(MachineFunction &MF) const;
void eliminateCallFramePseudoInstr(MachineFunction &MF,
OpenPOWER on IntegriCloud