summaryrefslogtreecommitdiff
path: root/lib/Target/CellSPU/SPUISelLowering.h
diff options
context:
space:
mode:
authorCameron Zwarich <zwarich@apple.com>2011-03-07 21:56:36 +0000
committerCameron Zwarich <zwarich@apple.com>2011-03-07 21:56:36 +0000
commitbe2119e8e2bc7006cfd638a24367acbfda625d16 (patch)
treef6b612a7b38e222360664235d92655da3ab285d1 /lib/Target/CellSPU/SPUISelLowering.h
parente390b3245f00627eb5c5bde5eb4ff6b6ff7c752d (diff)
downloadllvm-be2119e8e2bc7006cfd638a24367acbfda625d16.tar.gz
llvm-be2119e8e2bc7006cfd638a24367acbfda625d16.tar.bz2
llvm-be2119e8e2bc7006cfd638a24367acbfda625d16.tar.xz
Move getRegPressureLimit() from TargetLoweringInfo to TargetRegisterInfo.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@127175 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/CellSPU/SPUISelLowering.h')
-rw-r--r--lib/Target/CellSPU/SPUISelLowering.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/lib/Target/CellSPU/SPUISelLowering.h b/lib/Target/CellSPU/SPUISelLowering.h
index dd48d7bafa..cf883e25ed 100644
--- a/lib/Target/CellSPU/SPUISelLowering.h
+++ b/lib/Target/CellSPU/SPUISelLowering.h
@@ -183,14 +183,6 @@ namespace llvm {
virtual bool isLegalAddressingMode(const AddrMode &AM,
const Type *Ty) const;
-
- /// After allocating this many registers, the allocator should feel
- /// register pressure. The value is a somewhat random guess, based on the
- /// number of non callee saved registers in the C calling convention.
- virtual unsigned getRegPressureLimit( const TargetRegisterClass *RC,
- MachineFunction &MF) const{
- return 50;
- }
};
}