projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1ab16d9
)
mi-sched: DEBUG cleanup, call tracePick for unidirectional scheduling.
author
Andrew Trick
<atrick@apple.com>
Wed, 4 Sep 2013 21:00:16 +0000
(21:00 +0000)
committer
Andrew Trick
<atrick@apple.com>
Wed, 4 Sep 2013 21:00:16 +0000
(21:00 +0000)
llvm-svn: 189993
llvm/lib/CodeGen/MachineScheduler.cpp
patch
|
blob
|
history
diff --git
a/llvm/lib/CodeGen/MachineScheduler.cpp
b/llvm/lib/CodeGen/MachineScheduler.cpp
index
ed5de5c
..
6b21323
100644
(file)
--- a/
llvm/lib/CodeGen/MachineScheduler.cpp
+++ b/
llvm/lib/CodeGen/MachineScheduler.cpp
@@
-2681,6
+2681,7
@@
SUnit *ConvergingScheduler::pickNode(bool &IsTopNode) {
SchedCandidate TopCand(NoPolicy);
pickNodeFromQueue(Top, DAG->getTopRPTracker(), TopCand);
assert(TopCand.Reason != NoCand && "failed to find a candidate");
+ tracePick(TopCand, true);
SU = TopCand.SU;
}
IsTopNode = true;
@@
-2692,6
+2693,7
@@
SUnit *ConvergingScheduler::pickNode(bool &IsTopNode) {
SchedCandidate BotCand(NoPolicy);
pickNodeFromQueue(Bot, DAG->getBotRPTracker(), BotCand);
assert(BotCand.Reason != NoCand && "failed to find a candidate");
+ tracePick(BotCand, false);
SU = BotCand.SU;
}
IsTopNode = false;