[llvm] [AMDGPU] Make chain functions receive a stack pointer (PR #184616)

via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 10 23:13:00 PDT 2026


================
@@ -90,27 +153,27 @@ define amdgpu_cs_chain void @test_alloca_var(i32 %count) {
 ; GFX12-NEXT:    s_wait_bvhcnt 0x0
 ; GFX12-NEXT:    s_wait_kmcnt 0x0
 ; GFX12-NEXT:    v_lshl_add_u32 v0, v8, 2, 15
-; GFX12-NEXT:    s_mov_b32 s1, exec_lo
-; GFX12-NEXT:    s_mov_b32 s0, 0
-; GFX12-NEXT:    s_mov_b32 s32, 16
-; GFX12-NEXT:    s_delay_alu instid0(VALU_DEP_1)
+; GFX12-NEXT:    s_mov_b64 s[0:1], exec
----------------
easyonaadit wrote:

Ditto. Why is it taking `exec` instead of `exec_lo` for gfx12?

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


More information about the llvm-commits mailing list