[clang] [llvm] [RFC][AMDGPU] Use `bf16` instead of `i16` for bfloat (PR #80908)
Stanislav Mekhanoshin via cfe-commits
cfe-commits at lists.llvm.org
Thu Feb 8 10:22:07 PST 2024
================
@@ -79,17 +79,17 @@ define amdgpu_ps void @test_llvm_amdgcn_fdot2_bf16_bf16_sis(
; GFX11: ; %bb.0: ; %entry
; GFX11-NEXT: v_mov_b32_e32 v2, s1
; GFX11-NEXT: s_delay_alu instid0(VALU_DEP_1)
-; GFX11-NEXT: v_dot2_bf16_bf16 v2, s0, 0x10001, v2
+; GFX11-NEXT: v_dot2_bf16_bf16 v2, s0, 0x3f803f80, v2
----------------
rampitec wrote:
This shall be encoded as inline immediate 1.0.
https://github.com/llvm/llvm-project/pull/80908
More information about the cfe-commits
mailing list