Skip to content

Commit 89d131e

Browse files
committed
EXPERIMENT: Use UsesLiveAll also with PreservesSchedLat.
1 parent 335565b commit 89d131e

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 && UsesLiveAll && (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)