[llvm] [AMDGPU] Reset minOccupancy if unclustered schedule was not run for any region. (PR #162025)

Lucas Ramirez via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 10 09:12:21 PDT 2025


================
@@ -966,6 +966,7 @@ void GCNScheduleDAGMILive::runSchedStages() {
     if (!Stage->initGCNSchedStage())
       continue;
 
+    bool IsAnyRegionScheduled = false;
----------------
lucas-rami wrote:

Can you make this part of the `UnclusteredHighRPStage`'s state instead of the scheduler itself? I think it makes more sense since the base `finalizeGCNSchedStage` implementation doesn't use this and neither do the other stages.

https://github.com/llvm/llvm-project/pull/162025


More information about the llvm-commits mailing list