Remove dead subtree limit code.
authorAndrew Trick <atrick@apple.com>
Wed, 4 Sep 2013 21:00:20 +0000 (21:00 +0000)
committerAndrew Trick <atrick@apple.com>
Wed, 4 Sep 2013 21:00:20 +0000 (21:00 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@189995 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/MachineScheduler.cpp

index ae504e063b11e1d64c387d742659fbf7c0ec0b25..5b35ab97d499c6aba70a4c9029dbb5c7007b65bc 100644 (file)
@@ -2818,15 +2818,6 @@ struct ILPOrder {
 
 /// \brief Schedule based on the ILP metric.
 class ILPScheduler : public MachineSchedStrategy {
-  /// In case all subtrees are eventually connected to a common root through
-  /// data dependence (e.g. reduction), place an upper limit on their size.
-  ///
-  /// FIXME: A subtree limit is generally good, but in the situation commented
-  /// above, where multiple similar subtrees feed a common root, we should
-  /// only split at a point where the resulting subtrees will be balanced.
-  /// (a motivating test case must be found).
-  static const unsigned SubtreeLimit = 16;
-
   ScheduleDAGMI *DAG;
   ILPOrder Cmp;