[llvm] [AMDGPU] Limit DVGPR entry function max VGPRs to block size (PR #226242)

Diana Picus via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 25 00:36:48 PDT 2026


================
@@ -95,7 +95,6 @@ define amdgpu_gfx void @gfx_func_b() #0 {
 
 define amdgpu_cs void @amdgpu_cs_main(<3 x i32> inreg %sgprs, <3 x i32> %vgprs) #0 {
   %fptr = load ptr, ptr inttoptr(i64 0 to ptr)
-  call amdgpu_gfx void @gfx_func_a()
----------------
rovka wrote:

This would actually make a nice test case for dynamic-vgpr-entry-vgpr-limit.ll

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


More information about the llvm-commits mailing list