mirror of
https://github.com/RPCSX/llvm.git
synced 2025-02-15 10:39:47 +00:00
MI Sched: regpressure tracing.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@180191 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
f69a81f001
commit
811a372d4f
@ -507,6 +507,14 @@ updateScheduledPressure(const std::vector<unsigned> &NewMaxPressure) {
|
||||
if ((int)NewMaxPressure[ID] > MaxUnits)
|
||||
MaxUnits = NewMaxPressure[ID];
|
||||
}
|
||||
DEBUG(
|
||||
for (unsigned i = 0, e = NewMaxPressure.size(); i < e; ++i) {
|
||||
unsigned Limit = TRI->getRegPressureSetLimit(i);
|
||||
if (NewMaxPressure[i] > Limit ) {
|
||||
dbgs() << " " << TRI->getRegPressureSetName(i) << ": "
|
||||
<< NewMaxPressure[i] << " > " << Limit << "\n";
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
/// schedule - Called back from MachineScheduler::runOnMachineFunction
|
||||
|
Loading…
x
Reference in New Issue
Block a user