Skip to content
This repository was archived by the owner on Apr 23, 2020. It is now read-only.

Commit 1228c39

Browse files
committed
Comment rewording in MachineScheduler.cpp.
Author: A Trick git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@285991 91177308-0d34-0410-b5e6-96231b3b80d8
1 parent f85fa80 commit 1228c39

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

lib/CodeGen/MachineScheduler.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2844,9 +2844,8 @@ void GenericScheduler::tryCandidate(SchedCandidate &Cand,
28442844
bool SameBoundary = Zone != nullptr;
28452845
if (SameBoundary) {
28462846
// For loops that are acyclic path limited, aggressively schedule for
2847-
// latency. This can result in very long dependence chains scheduled in
2848-
// sequence, so once every cycle (when CurrMOps == 0), switch to normal
2849-
// heuristics.
2847+
// latency. Within an single cycle, whenever CurrMOps > 0, allow normal
2848+
// heuristics to take precedence.
28502849
if (Rem.IsAcyclicLatencyLimited && !Zone->getCurrMOps() &&
28512850
tryLatency(TryCand, Cand, *Zone))
28522851
return;

0 commit comments

Comments
 (0)