mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-16 08:08:01 +00:00
MI Sched: regpressure tracing.
llvm-svn: 180191
This commit is contained in:
parent
8eed76c89e
commit
255be06f92
@ -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…
Reference in New Issue
Block a user