[llvm] Add more cases for computeOverflowForSignedAdd (PR #99900)

Jay Foad via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 23 02:41:27 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
----------------
jayfoad wrote:

This looks like a regression.

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


More information about the llvm-commits mailing list