[llvm] [LICM] Do not reassociate constant offset GEP (PR #151492)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 31 07:58:05 PDT 2025


================
@@ -77,7 +77,7 @@ define amdgpu_kernel void @copy_flat(ptr nocapture %d, ptr nocapture readonly %s
 ; GFX1250-NEXT:    s_add_nc_u64 s[2:3], s[2:3], 16
 ; GFX1250-NEXT:    s_cmp_lg_u32 s6, 0
 ; GFX1250-NEXT:    s_wait_loadcnt_dscnt 0x0
-; GFX1250-NEXT:    flat_store_b128 v0, v[2:5], s[0:1]
+; GFX1250-NEXT:    flat_store_b128 v0, v[2:5], s[0:1] scope:SCOPE_SE
----------------
arsenm wrote:

Did this really change from this patch? 

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


More information about the llvm-commits mailing list