================ @@ -75,14 +82,19 @@ define amdgpu_kernel void @class_f16_fabs( ; ; VI-GISEL-LABEL: class_f16_fabs: ; VI-GISEL: ; %bb.0: ; %entry -; VI-GISEL-NEXT: s_load_dword s3, s[8:9], 0x28 -; VI-GISEL-NEXT: s_load_dword s4, s[8:9], 0x4c +; VI-GISEL-NEXT: s_load_dword s3, s[8:9], 0x4c +; VI-GISEL-NEXT: s_load_dword s4, s[8:9], 0x28 ; VI-GISEL-NEXT: s_load_dwordx2 s[0:1], s[8:9], 0x0 ; VI-GISEL-NEXT: s_mov_b32 s2, -1 ; VI-GISEL-NEXT: s_waitcnt lgkmcnt(0) ; VI-GISEL-NEXT: v_mov_b32_e32 v0, s3 -; VI-GISEL-NEXT: v_cmp_class_f16_e64 s[4:5], |v0|, s4 -; VI-GISEL-NEXT: v_cndmask_b32_e64 v0, 0, -1, s[4:5] +; VI-GISEL-NEXT: v_cmp_class_f16_e64 s[4:5], |s4|, v0 ---------------- arsenm wrote:
This is really ugly https://github.com/llvm/llvm-project/pull/178827 _______________________________________________ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
