Comment rewording in MachineScheduler.cpp.
authorJonas Paulsson <paulsson@linux.vnet.ibm.com>
Fri, 4 Nov 2016 08:31:14 +0000 (08:31 +0000)
committerJonas Paulsson <paulsson@linux.vnet.ibm.com>
Fri, 4 Nov 2016 08:31:14 +0000 (08:31 +0000)
Author: A Trick
llvm-svn: 285991

llvm/lib/CodeGen/MachineScheduler.cpp

index a43277cb8dcabcbed58adf27e0d6c154177f0370..7946ca775cac771be5e9fa711ffdb7459b451918 100644 (file)
@@ -2844,9 +2844,8 @@ void GenericScheduler::tryCandidate(SchedCandidate &Cand,
   bool SameBoundary = Zone != nullptr;
   if (SameBoundary) {
     // For loops that are acyclic path limited, aggressively schedule for
-    // latency.  This can result in very long dependence chains scheduled in
-    // sequence, so once every cycle (when CurrMOps == 0), switch to normal
-    // heuristics.
+    // latency. Within an single cycle, whenever CurrMOps > 0, allow normal
+    // heuristics to take precedence.
     if (Rem.IsAcyclicLatencyLimited && !Zone->getCurrMOps() &&
         tryLatency(TryCand, Cand, *Zone))
       return;