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

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 31 08:19:42 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
----------------
nikic wrote:

No, just a test regeneration artifact. Landed separately in https://github.com/llvm/llvm-project/commit/e2bd92e56b98b15595f2d36a17aad2fe419bd39c.

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


More information about the llvm-commits mailing list