Skip to content

Commit 71fec89

Browse files
committed
Revert "EXPERIMENT: Use UsesLivePrio also with HasDistToTop."
This reverts commit 2e545a3.
1 parent 2e545a3 commit 71fec89

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

llvm/lib/Target/SystemZ/SystemZMachineScheduler.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,8 @@ int SystemZPreRASchedStrategy::computeSULivenessScore(
291291
// already live it should not be a problem to increase the scheduled
292292
// latency given the OOO execution.
293293
// TODO: Try scheduling small (DFSResult) subtrees as a unit.
294-
bool SchedLow = IsLoad && UsesLivePrio && (PreservesSchedLat || HasDistToTop);
294+
bool SchedLow = IsLoad && ((PreservesSchedLat && UsesLivePrio) ||
295+
(HasDistToTop && UsesLiveAll));
295296

296297
// This handles regions with many chained stores of the same depth at the
297298
// bottom in the input order (cactus). Push them upwards during scheduling.

0 commit comments

Comments
 (0)