[llvm] [AMDGPU] Fix build failure in raw.atomic.buffer.load tests (PR #99912)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 22 11:21:34 PDT 2024


================
@@ -5,7 +5,8 @@
 define amdgpu_kernel void @raw_atomic_buffer_load_i32(<4 x i32> %addr) {
 ; CHECK-LABEL: raw_atomic_buffer_load_i32:
 ; CHECK:       ; %bb.0: ; %bb
-; CHECK-NEXT:    s_load_b128 s[0:3], s[0:1], 0x24
+; CHECK-NEXT:    s_load_b128 s[0:3], s[2:3], 0x24
+; CHECK-NEXT:    v_and_b32_e32 v0, 0x3ff, v0
----------------
arsenm wrote:

Oh, this probably wasn't rebased over the attributor move 

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


More information about the llvm-commits mailing list