1111; ASM-LABEL: amdhsa_kernarg_preload_4_implicit_6:
1212; ASM: .amdhsa_user_sgpr_count 10
1313; ASM: .amdhsa_next_free_sgpr 10
14- ; ASM: ; NumSgprs : 16
14+ ; ASM: ; TotalNumSgprs : 16
1515; ASM: ; NumSGPRsForWavesPerEU: 16
1616
1717; Test that we include preloaded SGPRs in the GRANULATED_WAVEFRONT_SGPR_COUNT
@@ -31,7 +31,7 @@ define amdgpu_kernel void @amdhsa_kernarg_preload_4_implicit_6(i128 inreg) { ret
3131; ASM-LABEL: amdhsa_kernarg_preload_8_implicit_2:
3232; ASM: .amdhsa_user_sgpr_count 10
3333; ASM: .amdhsa_next_free_sgpr 10
34- ; ASM: ; NumSgprs : 16
34+ ; ASM: ; TotalNumSgprs : 16
3535; ASM: ; NumSGPRsForWavesPerEU: 16
3636
3737; Only the kernarg_ptr is enabled so we should have 8 preload kernarg SGPRs, 2
@@ -47,7 +47,7 @@ define amdgpu_kernel void @amdhsa_kernarg_preload_8_implicit_2(i256 inreg) #0 {
4747; ASM-LABEL: amdhsa_kernarg_preload_1_implicit_2:
4848; ASM: .amdhsa_user_sgpr_count 3
4949; ASM: .amdhsa_next_free_sgpr 3
50- ; ASM: ; NumSgprs : 9
50+ ; ASM: ; TotalNumSgprs : 9
5151; ASM: ; NumSGPRsForWavesPerEU: 9
5252
5353; 1 preload, 2 implicit, 6 extra. Rounds up to 16 SGPRs in the KD.
@@ -62,7 +62,7 @@ define amdgpu_kernel void @amdhsa_kernarg_preload_1_implicit_2(i32 inreg) #0 { r
6262; ASM-LABEL: amdhsa_kernarg_preload_0_implicit_2:
6363; ASM: .amdhsa_user_sgpr_count 2
6464; ASM: .amdhsa_next_free_sgpr 0
65- ; ASM: ; NumSgprs : 6
65+ ; ASM: ; TotalNumSgprs : 6
6666; ASM: ; NumSGPRsForWavesPerEU: 6
6767
6868; 0 preload kernarg SGPRs, 2 implicit, 6 extra. Rounds up to 8 SGPRs in the KD.
0 commit comments