summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/MachineScheduler.cpp
diff options
context:
space:
mode:
authorMatthias Braun <matze@braunis.de>2015-11-13 22:30:29 +0000
committerMatthias Braun <matze@braunis.de>2015-11-13 22:30:29 +0000
commit3b099db61d78f2d0c2c1aa77a701d723c34d0e14 (patch)
treee29311f40432196129d662bde927bd241482d47a /llvm/lib/CodeGen/MachineScheduler.cpp
parent167cbd2167494ee8d3d76965ed104bdbddfa5477 (diff)
downloadbcm5719-llvm-3b099db61d78f2d0c2c1aa77a701d723c34d0e14.tar.gz
bcm5719-llvm-3b099db61d78f2d0c2c1aa77a701d723c34d0e14.zip
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". llvm-svn: 253096
Diffstat (limited to 'llvm/lib/CodeGen/MachineScheduler.cpp')
-rw-r--r--llvm/lib/CodeGen/MachineScheduler.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/MachineScheduler.cpp b/llvm/lib/CodeGen/MachineScheduler.cpp
index 5b83df9cb7f..5a31d675317 100644
--- a/llvm/lib/CodeGen/MachineScheduler.cpp
+++ b/llvm/lib/CodeGen/MachineScheduler.cpp
@@ -2800,12 +2800,12 @@ SUnit *GenericScheduler::pickNodeBidirectional(bool &IsTopNode) {
// 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;
OpenPOWER on IntegriCloud