[llvm] AMDGPU: Track AGPR pressure (PR #150288)

Nicholas Baron via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 4 11:22:47 PDT 2025


================
@@ -291,6 +306,12 @@ void GCNSchedStrategy::initCandidate(SchedCandidate &Cand, SUnit *SU,
     Cand.RPDelta.Excess.setUnitInc(NewVGPRPressure - VGPRExcessLimit);
   }
 
+  if (ShouldTrackAGPRs && NewAGPRPressure >= AGPRPressure) {
----------------
Nicholas-Baron wrote:

Fixed

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


More information about the llvm-commits mailing list