[llvm] [AMDGPU] Replace dynamic VGPR feature with attribute (PR #133444)
Diana Picus via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 3 05:02:05 PDT 2025
================
@@ -1498,7 +1508,8 @@ bool OccInitialScheduleStage::shouldRevertScheduling(unsigned WavesAfter) {
bool UnclusteredHighRPStage::shouldRevertScheduling(unsigned WavesAfter) {
// If RP is not reduced in the unclustered reschedule stage, revert to the
// old schedule.
- if ((WavesAfter <= PressureBefore.getOccupancy(ST) &&
+ if ((WavesAfter <=
+ PressureBefore.getOccupancy(ST, DAG.MFI.isDynamicVGPREnabled()) &&
----------------
rovka wrote:
No, I missed that while refactoring. Thanks for catching it <3
https://github.com/llvm/llvm-project/pull/133444
More information about the llvm-commits
mailing list