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

Diana Picus via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 24 06:23:55 PDT 2025


================
@@ -1745,6 +1740,11 @@ The AMDGPU backend supports the following LLVM IR attributes.
 
      "amdgpu-promote-alloca-to-vector-vgpr-ratio"     Ratio of VGPRs to budget for promoting alloca to vectors.
 
+     "amdgpu-dynamic-vgpr"                            Represents the "Dynamic VGPR" hardware mode, introduced in GFX12.
+                                                      Waves launched in this mode may allocate or deallocate the VGPRs
+                                                      using dedicated instructions, but may not send the DEALLOC_VGPRS
+                                                      message.
+
----------------
rovka wrote:

Yep.

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


More information about the llvm-commits mailing list