================
@@ -1452,6 +1452,16 @@ bool GCNSchedStage::shouldRevertScheduling(unsigned 
WavesAfter) {
   if (WavesAfter < DAG.MinOccupancy)
     return true;
 
+  // For dynamic VGPR mode, we don't want to waste any VGPR blocks.
+  if (ST.isDynamicVGPREnabled()) {
----------------
kerbowa wrote:

Should VGPR critical/excess limits also be updated to reflect that you never 
want to allocate a new block? In this case it will be treated as if it's as bad 
as spilling.

https://github.com/llvm/llvm-project/pull/130047
_______________________________________________
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

Reply via email to