mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-10-30 00:16:48 +00:00
mi-sched: DEBUG cleanup, call tracePick for unidirectional scheduling.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@189993 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -2681,6 +2681,7 @@ SUnit *ConvergingScheduler::pickNode(bool &IsTopNode) {
|
|||||||
SchedCandidate TopCand(NoPolicy);
|
SchedCandidate TopCand(NoPolicy);
|
||||||
pickNodeFromQueue(Top, DAG->getTopRPTracker(), TopCand);
|
pickNodeFromQueue(Top, DAG->getTopRPTracker(), TopCand);
|
||||||
assert(TopCand.Reason != NoCand && "failed to find a candidate");
|
assert(TopCand.Reason != NoCand && "failed to find a candidate");
|
||||||
|
tracePick(TopCand, true);
|
||||||
SU = TopCand.SU;
|
SU = TopCand.SU;
|
||||||
}
|
}
|
||||||
IsTopNode = true;
|
IsTopNode = true;
|
||||||
@@ -2692,6 +2693,7 @@ SUnit *ConvergingScheduler::pickNode(bool &IsTopNode) {
|
|||||||
SchedCandidate BotCand(NoPolicy);
|
SchedCandidate BotCand(NoPolicy);
|
||||||
pickNodeFromQueue(Bot, DAG->getBotRPTracker(), BotCand);
|
pickNodeFromQueue(Bot, DAG->getBotRPTracker(), BotCand);
|
||||||
assert(BotCand.Reason != NoCand && "failed to find a candidate");
|
assert(BotCand.Reason != NoCand && "failed to find a candidate");
|
||||||
|
tracePick(BotCand, false);
|
||||||
SU = BotCand.SU;
|
SU = BotCand.SU;
|
||||||
}
|
}
|
||||||
IsTopNode = false;
|
IsTopNode = false;
|
||||||
|
|||||||
Reference in New Issue
Block a user