We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2e545a3 commit 71fec89Copy full SHA for 71fec89
llvm/lib/Target/SystemZ/SystemZMachineScheduler.cpp
@@ -291,7 +291,8 @@ int SystemZPreRASchedStrategy::computeSULivenessScore(
291
// already live it should not be a problem to increase the scheduled
292
// latency given the OOO execution.
293
// TODO: Try scheduling small (DFSResult) subtrees as a unit.
294
- bool SchedLow = IsLoad && UsesLivePrio && (PreservesSchedLat || HasDistToTop);
+ bool SchedLow = IsLoad && ((PreservesSchedLat && UsesLivePrio) ||
295
+ (HasDistToTop && UsesLiveAll));
296
297
// This handles regions with many chained stores of the same depth at the
298
// bottom in the input order (cactus). Push them upwards during scheduling.
0 commit comments