[llvm] [AMDGPU] Update base addr of dyn alloca considering GrowingUp stack (PR #119822)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Thu Dec 12 22:55:33 PST 2024
================
@@ -30,15 +30,14 @@ define amdgpu_kernel void @kernel_non_entry_block_static_alloca_uniformly_reache
; MUBUF-NEXT: s_cmp_lg_u32 s9, 0
; MUBUF-NEXT: s_cbranch_scc1 .LBB0_3
; MUBUF-NEXT: ; %bb.2: ; %bb.1
-; MUBUF-NEXT: s_add_i32 s6, s32, 0x1000
-; MUBUF-NEXT: s_lshl_b32 s7, s10, 2
-; MUBUF-NEXT: s_mov_b32 s32, s6
+; MUBUF-NEXT: s_mov_b32 s6, s32
----------------
arsenm wrote:
Not enough test changes? The out of entry block case is a restricted subset of dynamic allocas. I thought we already had a test for the general case.
https://github.com/llvm/llvm-project/pull/119822
More information about the llvm-commits
mailing list