[llvm] [AMDGPU][SDAG] Support source modifiers on select integer operands (PR #147325)
Janek van Oirschot via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 14 04:21:04 PDT 2025
================
@@ -4358,9 +4358,10 @@ define <2 x half> @v_fneg_select_infloop_regression_v2f16(<2 x half> %arg, i1 %a
; SI-NEXT: v_lshlrev_b32_e32 v1, 16, v1
; SI-NEXT: v_or_b32_e32 v0, v0, v1
; SI-NEXT: v_and_b32_e32 v1, 1, v2
-; SI-NEXT: v_cmp_eq_u32_e32 vcc, 1, v1
-; SI-NEXT: v_cndmask_b32_e64 v0, v0, 0, vcc
; SI-NEXT: v_xor_b32_e32 v0, 0x80008000, v0
+; SI-NEXT: v_mov_b32_e32 v2, 0x80008000
----------------
JanekvO wrote:
Why does this explicitly add the constant?
https://github.com/llvm/llvm-project/pull/147325
More information about the llvm-commits
mailing list