[llvm] r253096 - MachineScheduler: Improve debug output for "only one node in readyset"
Matthias Braun via llvm-commits
llvm-commits at lists.llvm.org
Fri Nov 13 14:30:29 PST 2015
Author: matze
Date: Fri Nov 13 16:30:29 2015
New Revision: 253096
URL: http://llvm.org/viewvc/llvm-project?rev=253096&view=rev
Log:
MachineScheduler: Improve debug output for "only one node in readyset"
When there is only 1 node left in the ready queue and it is picked call
the reason "ONLY1" instead of "NOCAND".
Modified:
llvm/trunk/lib/CodeGen/MachineScheduler.cpp
Modified: llvm/trunk/lib/CodeGen/MachineScheduler.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/MachineScheduler.cpp?rev=253096&r1=253095&r2=253096&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/MachineScheduler.cpp (original)
+++ llvm/trunk/lib/CodeGen/MachineScheduler.cpp Fri Nov 13 16:30:29 2015
@@ -2800,12 +2800,12 @@ SUnit *GenericScheduler::pickNodeBidirec
// efficient, but also provides the best heuristics for CriticalPSets.
if (SUnit *SU = Bot.pickOnlyChoice()) {
IsTopNode = false;
- DEBUG(dbgs() << "Pick Bot NOCAND\n");
+ DEBUG(dbgs() << "Pick Bot ONLY1\n");
return SU;
}
if (SUnit *SU = Top.pickOnlyChoice()) {
IsTopNode = true;
- DEBUG(dbgs() << "Pick Top NOCAND\n");
+ DEBUG(dbgs() << "Pick Top ONLY1\n");
return SU;
}
CandPolicy NoPolicy;
More information about the llvm-commits
mailing list