MachineScheduler: Print initial pressure in debug dump

llvm-svn: 253097
This commit is contained in:
Matthias Braun 2015-11-13 22:30:31 +00:00
parent b2e09e4430
commit 59fc898d10

View File

@ -910,6 +910,13 @@ void ScheduleDAGMILive::initRegPressure() {
updatePressureDiffs(LiveUses);
}
DEBUG(
dbgs() << "Top Pressure:\n";
dumpRegSetPressure(TopRPTracker.getRegSetPressureAtPos(), TRI);
dbgs() << "Bottom Pressure:\n";
dumpRegSetPressure(BotRPTracker.getRegSetPressureAtPos(), TRI);
);
assert(BotRPTracker.getPos() == RegionEnd && "Can't find the region bottom");
// Cache the list of excess pressure sets in this region. This will also track