[all-commits] [llvm/llvm-project] b6f502: AMDGPU: Implement i1 to bfloat conversion (#130831)
Changpeng Fang via All-commits
all-commits at lists.llvm.org
Tue Mar 11 17:24:04 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: b6f502ddb0d1159723744ce01e75bde67fdb01cc
https://github.com/llvm/llvm-project/commit/b6f502ddb0d1159723744ce01e75bde67fdb01cc
Author: Changpeng Fang <changpeng.fang at amd.com>
Date: 2025-03-11 (Tue, 11 Mar 2025)
Changed paths:
M llvm/lib/Target/AMDGPU/SIISelLowering.cpp
A llvm/test/CodeGen/AMDGPU/i1-to-bf16.ll
Log Message:
-----------
AMDGPU: Implement i1 to bfloat conversion (#130831)
We are using the same approach as the conversion of other integer type
to bfloat: i1 --> f32 and f32 --> bf16. Refer to LowerUINT_TO_FP and
LowerSINT_TO_FP in AMDGPUTargetLowering.cpp for details.
Fixes: SWDEV-511605
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list