[PATCH] D151563: [SelectionDAG] Implement soft FP legalisation for bf16 FP_EXTEND and BF16_TO_FP

Alex Bradbury via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri May 26 06:37:24 PDT 2023

asb created this revision.
asb added reviewers: craig.topper, arsenm.
Herald added subscribers: luke, wingo, pmatos, frasercrmck, luismarques, apazos, sameer.abuasal, s.egerton, Jim, jocewei, PkmX, the_o, brucehoult, MartinMosbeck, rogfer01, edward-jones, zzheng, jrtc27, niosHD, sabuasal, simoncook, johnrusso, rbar, hiraditya, arichardson.
Herald added a project: All.
asb requested review of this revision.
Herald added subscribers: pcwang-thead, MaskRay, wdng.
Herald added a project: LLVM.

As discussed in D151436 <https://reviews.llvm.org/D151436>, it's safe to do this as a simple shift (as is done in LegalizeDAG.cpp) rather than needing a libcall. The added test cases for RISC-V previously just triggered an assertion.



-------------- next part --------------
A non-text attachment was scrubbed...
Name: D151563.526047.patch
Type: text/x-patch
Size: 7675 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230526/e3df104e/attachment.bin>

More information about the llvm-commits mailing list