[llvm] [AMDGPU] Revert "Preliminary patch for divergence driven instruction selection. Operands Folding 1." (PR #71710)
Jay Foad via llvm-commits
llvm-commits at lists.llvm.org
Wed Nov 8 09:54:24 PST 2023
================
@@ -41,19 +41,19 @@ define i32 @v_sdot4_cast_v4i8(<4 x i8> %a, <4 x i8> %b, i32 %c) {
; GFX906-LABEL: v_sdot4_cast_v4i8:
; GFX906: ; %bb.0:
; GFX906-NEXT: s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0)
-; GFX906-NEXT: s_mov_b32 s5, 8
-; GFX906-NEXT: s_movk_i32 s4, 0xff
-; GFX906-NEXT: v_lshlrev_b32_sdwa v1, s5, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:BYTE_0
-; GFX906-NEXT: v_and_or_b32 v0, v0, s4, v1
+; GFX906-NEXT: v_mov_b32_e32 v10, 8
----------------
jayfoad wrote:
Lots of GlobalISel tests show regressions like this where constants are materialized in vgprs instead of sgprs. This does not seem to affect SelectionDAG.
https://github.com/llvm/llvm-project/pull/71710
More information about the llvm-commits
mailing list