[llvm] [AMDGPU] Add MaxMemoryClauseSchedStrategy (PR #114957)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Thu Dec 5 16:14:37 PST 2024
================
@@ -1389,6 +1528,14 @@ bool ILPInitialScheduleStage::shouldRevertScheduling(unsigned WavesAfter) {
return false;
}
+bool MemoryClauseInitialScheduleStage::shouldRevertScheduling(
+ unsigned WavesAfter) {
+ if (mayCauseSpilling(WavesAfter))
+ return true;
+
+ return false;
----------------
arsenm wrote:
```suggestion
return mayCauseSpilling(WavesAfter);
```
https://github.com/llvm/llvm-project/pull/114957
More information about the llvm-commits
mailing list