diff options
author | Andrew Trick <atrick@apple.com> | 2013-09-04 21:00:16 +0000 |
---|---|---|
committer | Andrew Trick <atrick@apple.com> | 2013-09-04 21:00:16 +0000 |
commit | ef54c59490cdd162075ad218e08510a47668c646 (patch) | |
tree | 870b73589cc94d78bb98556ef035dfb3f4910993 /llvm/lib/CodeGen/MachineScheduler.cpp | |
parent | 1ab16d9ecf171d7bfbd1af70467757afa61aacfd (diff) | |
download | bcm5719-llvm-ef54c59490cdd162075ad218e08510a47668c646.tar.gz bcm5719-llvm-ef54c59490cdd162075ad218e08510a47668c646.zip |
mi-sched: DEBUG cleanup, call tracePick for unidirectional scheduling.
llvm-svn: 189993
Diffstat (limited to 'llvm/lib/CodeGen/MachineScheduler.cpp')
-rw-r--r-- | llvm/lib/CodeGen/MachineScheduler.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/MachineScheduler.cpp b/llvm/lib/CodeGen/MachineScheduler.cpp index ed5de5c5ffc..6b213230161 100644 --- 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; |