[llvm] [AMDGPU] Optionally Use GCNRPTrackers during scheduling (PR #93090)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Wed May 22 12:18:16 PDT 2024


================
@@ -480,7 +480,7 @@ void GCNIterativeScheduler::scheduleLegacyMaxOccupancy(
   LLVM_DEBUG(dbgs() << "Scheduling using default scheduler, "
                        "target occupancy = "
                     << TgtOcc << '\n');
-  GCNMaxOccupancySchedStrategy LStrgy(Context);
+  GCNMaxOccupancySchedStrategy LStrgy(Context, /*IsLegacyScheduler*/ true);
----------------
arsenm wrote:

```suggestion
  GCNMaxOccupancySchedStrategy LStrgy(Context, /*IsLegacyScheduler=*/ true);
```

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


More information about the llvm-commits mailing list