[llvm] [AMDGPU][Scheduler] Fix non-monotonic SlotIndex after schedule revert (PR #192039)

Lucas Ramirez via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 14 08:00:43 PDT 2026


================
@@ -369,6 +369,9 @@ class GCNSchedStage {
   // RP after scheduling the current region.
   GCNRegPressure PressureAfter;
 
+  // Whether checkScheduling reverted the schedule for the current region.
+  bool ScheduleReverted = false;
----------------
lucas-rami wrote:

This is also removable after `PreRARematStage::RegionSchedRevert::AlreadyReverted` is deleted.

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


More information about the llvm-commits mailing list