[PATCH] D156990: [LegalizeTypes][RISCV] Support libcalls for fpto{s,u}i of bfloat by extending to f32 first

Jun Sha via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 3 19:33:55 PDT 2023


joshua-arch1 added a comment.

Have you tried to modify some implementation in DAGTypeLegalizer::ExpandIntRes_FP_TO_{S,U}INT by adding another possibility of BF16_TO_FP when the FP type is TypeSoftPromoteHalf?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D156990/new/

https://reviews.llvm.org/D156990



More information about the llvm-commits mailing list