[all-commits] [llvm/llvm-project] 9458ba: [NVPTX] Custom lower integer<->bf16 conversions fo...
Benjamin Kramer via All-commits
all-commits at lists.llvm.org
Mon Dec 11 12:07:05 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 9458bae553c82438e1817b4a5b1d003a8de064c3
https://github.com/llvm/llvm-project/commit/9458bae553c82438e1817b4a5b1d003a8de064c3
Author: Benjamin Kramer <benny.kra at googlemail.com>
Date: 2023-12-11 (Mon, 11 Dec 2023)
Changed paths:
M llvm/lib/Target/NVPTX/NVPTXISelLowering.cpp
M llvm/lib/Target/NVPTX/NVPTXISelLowering.h
M llvm/test/CodeGen/NVPTX/bf16-instructions.ll
Log Message:
-----------
[NVPTX] Custom lower integer<->bf16 conversions for sm_80 (#74827)
sm_80 only has f32->bf16 conversions, the remaining integer conversions
arrived with sm_90. Use a two-step conversion for sm_80.
There doesn't seem to be a way to express this promotion directly within
the legalization framework, so fallback on Custom lowering.
More information about the All-commits
mailing list