[llvm] [AMDGPU] Examine instructions in pending queues during scheduling (PR #147653)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 8 23:20:44 PDT 2025


================
@@ -319,17 +327,45 @@ void GCNSchedStrategy::initCandidate(SchedCandidate &Cand, SUnit *SU,
   }
 }
 
+static bool shouldCheckPending(SchedBoundary &Zone,
+                               const TargetSchedModel *SchedModel) {
+  const unsigned ReadyListLimit = 256;
----------------
arsenm wrote:

Can you replace the bool flag with a value for this limit? Disable will be implied by 0 

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


More information about the llvm-commits mailing list