[llvm] [AMDGPU] Replace dynamic VGPR feature with attribute (PR #133444)

Shilei Tian via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 24 06:28:25 PDT 2025


================
@@ -2122,6 +2126,11 @@ bool getHasDepthExport(const Function &F) {
   return F.getFnAttributeAsParsedInteger("amdgpu-depth-export", 0) != 0;
 }
 
+bool getIsDynamicVGPR(const Function &F) {
----------------
shiltian wrote:

nit: `hasDynamicVGPR`. `getIsDynamicVGPR` sounds really weird to me.

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


More information about the llvm-commits mailing list