summaryrefslogtreecommitdiff
path: root/lib/CodeGen/MachineLICM.cpp
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/CodeGen/MachineLICM.cpp
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/CodeGen/MachineLICM.cpp')
-rw-r--r--lib/CodeGen/MachineLICM.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/MachineLICM.cpp b/lib/CodeGen/MachineLICM.cpp
index 443fc2d97b..1c0f6ade85 100644
--- a/lib/CodeGen/MachineLICM.cpp
+++ b/lib/CodeGen/MachineLICM.cpp
@@ -294,7 +294,7 @@ bool MachineLICM::runOnMachineFunction(MachineFunction &MF) {
RegLimit.resize(NumRC);
for (TargetRegisterInfo::regclass_iterator I = TRI->regclass_begin(),
E = TRI->regclass_end(); I != E; ++I)
- RegLimit[(*I)->getID()] = TLI->getRegPressureLimit(*I, MF);
+ RegLimit[(*I)->getID()] = TRI->getRegPressureLimit(*I, MF);
}
// Get our Loop information...