[llvm] [AMDGPU] Replace dynamic VGPR feature with attribute (PR #133444)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Fri Apr 25 04:29:38 PDT 2025
================
@@ -48,6 +48,9 @@ SIMachineFunctionInfo::SIMachineFunctionInfo(const Function &F,
MaxNumWorkGroups = ST.getMaxNumWorkGroups(F);
assert(MaxNumWorkGroups.size() == 3);
+ IsDynamicVGPREnabled =
+ ST.isDynamicVGPREnabled() || AMDGPU::getIsDynamicVGPR(F);
----------------
arsenm wrote:
Comment this
https://github.com/llvm/llvm-project/pull/133444
More information about the llvm-commits
mailing list