[llvm] r285991 - Comment rewording in MachineScheduler.cpp.

Jonas Paulsson via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 4 01:31:15 PDT 2016


Author: jonpa
Date: Fri Nov  4 03:31:14 2016
New Revision: 285991

URL: http://llvm.org/viewvc/llvm-project?rev=285991&view=rev
Log:
Comment rewording in MachineScheduler.cpp.

Author: A Trick

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=285991&r1=285990&r2=285991&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/MachineScheduler.cpp (original)
+++ llvm/trunk/lib/CodeGen/MachineScheduler.cpp Fri Nov  4 03:31:14 2016
@@ -2844,9 +2844,8 @@ void GenericScheduler::tryCandidate(Sche
   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;




More information about the llvm-commits mailing list