Skip to content

Commit 2e545a3

Browse files
committed
EXPERIMENT: Use UsesLivePrio also with HasDistToTop.
This reverts commit c5ab432.
1 parent c5ab432 commit 2e545a3

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

llvm/lib/Target/SystemZ/SystemZMachineScheduler.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -291,8 +291,7 @@ 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 && ((PreservesSchedLat && UsesLivePrio) ||
295-
(HasDistToTop && UsesLiveAll));
294+
bool SchedLow = IsLoad && UsesLivePrio && (PreservesSchedLat || HasDistToTop);
296295

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

0 commit comments

Comments
 (0)