Currentlt, bf16 operations are automatically supported by promoting to float. This patch adds bf16 support by ensuring that load extension / truncate store operations are properly expanded.
Details
Details
Diff Detail
Diff Detail
Paths
| Differential D156646
[RISCV] Expand load extension / truncate store for bf16 ClosedPublic Authored by joshua-arch1 on Jul 30 2023, 11:51 PM.
Details Summary Currentlt, bf16 operations are automatically supported by promoting to float. This patch adds bf16 support by ensuring that load extension / truncate store operations are properly expanded.
Diff Detail Event Timeline
This revision is now accepted and ready to land.Jul 31 2023, 12:30 PM Closed by commit rG934b4905306d: [RISCV] Expand load extension / truncate store for bf16 (authored by joshua-arch1). · Explain WhyJul 31 2023, 8:10 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 545514 llvm/lib/Target/RISCV/RISCVISelLowering.cpp
llvm/test/CodeGen/RISCV/bf16-promote.ll
|
Use -mattr= and -target-abi=