[llvm-branch-commits] [llvm] [AMDGPU] Make `AllocaInst` return AS5 in `getAssumedAddrSpace` (PR #136798)

Shilei Tian via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Wed Apr 23 06:19:08 PDT 2025


================
@@ -150,15 +138,11 @@ define amdgpu_kernel void @static_alloca_kernel(ptr %p) {
 ; GI-NEXT:    v_mov_b32_e32 v1, s15
 ; GI-NEXT:    s_mov_b32 s14, s16
 ; GI-NEXT:    s_movk_i32 s32, 0x400
-; GI-NEXT:    s_mov_b32 s36, 0
----------------
shiltian wrote:

That's why I explicitly added `-O0` in the test case before.

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


More information about the llvm-branch-commits mailing list