[llvm] [AMDGPU] Add custom lowering for E5M3 path for packed convert instructions through `convert.{to|from}.arbitrary.fp` (PR #218056)
Chinmay Deshpande via llvm-commits
llvm-commits at lists.llvm.org
Fri Aug 21 17:16:01 PDT 2026
================
@@ -108,7 +108,8 @@ class SITargetLowering final : public AMDGPUTargetLowering {
SDValue LowerCONVERT_FROM_ARBITRARY_FP(SDValue Op, SelectionDAG &DAG) const;
SDValue lowerFromFP8(SDValue Op, bool IsBF8, SelectionDAG &DAG) const;
SDValue LowerCONVERT_TO_ARBITRARY_FP(SDValue Op, SelectionDAG &DAG) const;
- SDValue lowerToFP8(SDValue Op, bool IsBF8, SelectionDAG &DAG) const;
+ SDValue lowerToFP8(SDValue Op, bool IsBF8, bool IsE5M3,
----------------
chinmaydd wrote:
Right, but that has been the signature when the lowering for both the `convert.{to|from}.arbitrary.fp` intrinsics were added. I can probably clean that up in the followup. Unless you'd like me to do it before this one ?
https://github.com/llvm/llvm-project/pull/218056
More information about the llvm-commits
mailing list