commit | da9f441854db4852118d0787583eb2be231c15d1 | [log] [tgz] |
---|---|---|
author | Andrew Trick <atrick@apple.com> | Wed Sep 04 21:00:18 2013 +0000 |
committer | Andrew Trick <atrick@apple.com> | Wed Sep 04 21:00:18 2013 +0000 |
tree | a88a55b4220f159f8fe5ab9d84c72a3af28de77f | |
parent | ee5fd9cf102ef6b10b3df1202ef525c9ef38b127 [diff] [blame] |
-view-misched-dags, better pruning. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@189994 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/CodeGen/MachineScheduler.cpp b/lib/CodeGen/MachineScheduler.cpp index 6b21323..ae504e0 100644 --- a/lib/CodeGen/MachineScheduler.cpp +++ b/lib/CodeGen/MachineScheduler.cpp
@@ -3010,7 +3010,7 @@ } 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,