[llvm] Fix for revert of dea5aa73f (PR #134153)
via llvm-commits
llvm-commits at lists.llvm.org
Fri Apr 4 11:50:59 PDT 2025
================
@@ -806,7 +808,9 @@ define double @optnone_atomicrmw_fadd_f64_expand(double %val) #1 {
; GFX90A-NEXT: v_cndmask_b32_e64 v2, 0, 1, s[4:5]
; GFX90A-NEXT: s_mov_b64 s[4:5], -1
; GFX90A-NEXT: s_mov_b32 s6, 1
-; GFX90A-NEXT: v_cmp_ne_u32_e64 s[6:7], v2, s6
+; GFX90A-NEXT: v_readfirstlane_b32 s7, v2
+; GFX90A-NEXT: s_cmp_lg_u32 s7, s6
+; GFX90A-NEXT: s_cselect_b64 s[6:7], -1, 0
----------------
alex-t wrote:
Fixed
https://github.com/llvm/llvm-project/pull/134153
More information about the llvm-commits
mailing list