[llvm] [RFC][WIP][AMDGPU] Use `bf16` instead of `i16` for bfloat (PR #80908)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Wed Feb 7 08:23:57 PST 2024
================
@@ -2819,11 +2819,11 @@ def int_amdgcn_fdot2_f16_f16 :
def int_amdgcn_fdot2_bf16_bf16 :
ClangBuiltin<"__builtin_amdgcn_fdot2_bf16_bf16">,
DefaultAttrsIntrinsic<
- [llvm_i16_ty], // %r
+ [llvm_bfloat_ty], // %r
----------------
arsenm wrote:
It will just maybe require changing the clang builtin codegen to insert the casts. You still need to make this change
https://github.com/llvm/llvm-project/pull/80908
More information about the llvm-commits
mailing list