MI-Sched: DEBUG: print critical resource.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@184028 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Andrew Trick 2013-06-15 04:49:42 +00:00
parent 7e6d620336
commit eda39a9d69

View File

@ -1421,6 +1421,10 @@ init(ScheduleDAGMI *DAG, const TargetSchedModel *SchedModel) {
CritResIdx = PIdx;
}
}
DEBUG(dbgs() << "Critical Resource: "
<< SchedModel->getProcResource(CritResIdx)->Name
<< ": " << RemainingCounts[CritResIdx]
<< " / " << SchedModel->getLatencyFactor() << '\n');
}
void ConvergingScheduler::SchedBoundary::