Comment rewording in MachineScheduler.cpp.
Author: A Trick llvm-svn: 285991
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user