[llvm] r189994 - -view-misched-dags, better pruning.
Andrew Trick
atrick at apple.com
Wed Sep 4 14:00:18 PDT 2013
Author: atrick
Date: Wed Sep 4 16:00:18 2013
New Revision: 189994
URL: http://llvm.org/viewvc/llvm-project?rev=189994&view=rev
Log:
-view-misched-dags, better pruning.
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=189994&r1=189993&r2=189994&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/MachineScheduler.cpp (original)
+++ llvm/trunk/lib/CodeGen/MachineScheduler.cpp Wed Sep 4 16:00:18 2013
@@ -3010,7 +3010,7 @@ struct DOTGraphTraits<ScheduleDAGMI*> :
}
static bool isNodeHidden(const SUnit *Node) {
- return (Node->NumPreds > 10 || Node->NumSuccs > 10);
+ return (Node->Preds.size() > 10 || Node->Succs.size() > 10);
}
static bool hasNodeAddressLabel(const SUnit *Node,
More information about the llvm-commits
mailing list