mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-24 23:28:41 +00:00
Move getRegPressureLimit() from TargetLoweringInfo to TargetRegisterInfo.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@127175 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user