diff options
author | Cameron Zwarich <zwarich@apple.com> | 2011-03-07 21:56:36 +0000 |
---|---|---|
committer | Cameron Zwarich <zwarich@apple.com> | 2011-03-07 21:56:36 +0000 |
commit | be2119e8e2bc7006cfd638a24367acbfda625d16 (patch) | |
tree | f6b612a7b38e222360664235d92655da3ab285d1 /lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp | |
parent | e390b3245f00627eb5c5bde5eb4ff6b6ff7c752d (diff) | |
download | external_llvm-be2119e8e2bc7006cfd638a24367acbfda625d16.zip external_llvm-be2119e8e2bc7006cfd638a24367acbfda625d16.tar.gz external_llvm-be2119e8e2bc7006cfd638a24367acbfda625d16.tar.bz2 |
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/SelectionDAG/ScheduleDAGRRList.cpp')
-rw-r--r-- | lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp b/lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp index e4d8a0c..bdfd069 100644 --- a/lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp +++ b/lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp @@ -1458,7 +1458,7 @@ public: std::fill(RegPressure.begin(), RegPressure.end(), 0); 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); } } |