MachineScheduler debug output clarity.

llvm-svn: 237545
This commit is contained in:
Andrew Trick 2015-05-17 23:40:31 +00:00
parent e02d5da8a7
commit 569dc65a60
1 changed files with 3 additions and 2 deletions

View File

@ -943,8 +943,9 @@ updateScheduledPressure(const SUnit *SU,
unsigned Limit = RegClassInfo->getRegPressureSetLimit(ID);
if (NewMaxPressure[ID] >= Limit - 2) {
DEBUG(dbgs() << " " << TRI->getRegPressureSetName(ID) << ": "
<< NewMaxPressure[ID] << " > " << Limit << "(+ "
<< BotRPTracker.getLiveThru()[ID] << " livethru)\n");
<< NewMaxPressure[ID]
<< ((NewMaxPressure[ID] > Limit) ? " > " : " <= ") << Limit
<< "(+ " << BotRPTracker.getLiveThru()[ID] << " livethru)\n");
}
}
}