projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7e6d620
)
MI-Sched: DEBUG: print critical resource.
author
Andrew Trick
<atrick@apple.com>
Sat, 15 Jun 2013 04:49:42 +0000
(
04:49
+0000)
committer
Andrew Trick
<atrick@apple.com>
Sat, 15 Jun 2013 04:49:42 +0000
(
04:49
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@184028
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/MachineScheduler.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/MachineScheduler.cpp
b/lib/CodeGen/MachineScheduler.cpp
index 7e7ad37acb75fd8cffd152bb72d8449b5cf50598..adc2d7ab81cacb957f910b0aa00d61f9ccda72c5 100644
(file)
--- a/
lib/CodeGen/MachineScheduler.cpp
+++ b/
lib/CodeGen/MachineScheduler.cpp
@@
-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::