[PATCH] D142911: [RISCV] Tailcall some more libcalls on soft-float ABIs

Luke Lau via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 30 09:59:53 PST 2023


luke created this revision.
luke added a reviewer: asb.
Herald added subscribers: pmatos, VincentWu, vkmr, frasercrmck, evandro, luismarques, apazos, sameer.abuasal, s.egerton, Jim, benna, psnobl, jocewei, PkmX, the_o, brucehoult, MartinMosbeck, rogfer01, edward-jones, zzheng, jrtc27, shiva0217, kito-cheng, niosHD, sabuasal, simoncook, johnrusso, rbar, hiraditya, arichardson.
Herald added a project: All.
luke requested review of this revision.
Herald added subscribers: llvm-commits, pcwang-thead, eopXD, MaskRay.
Herald added a project: LLVM.

A follow up to 47b1f8362aa409b591b5e9c8a9ff0e3e1d76ed9c <https://reviews.llvm.org/rG47b1f8362aa409b591b5e9c8a9ff0e3e1d76ed9c>
This covers some more cases where the arch has +f but the ABI is IPL32.
I left the TODO in as there is still the case where we need to handle rv32i without f/d, but that looks like it requires changes to SelectionDAGLegalize::ExpandFPLibCall


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D142911

Files:
  llvm/lib/Target/RISCV/RISCVISelLowering.cpp
  llvm/test/CodeGen/RISCV/float-frem.ll
  llvm/test/CodeGen/RISCV/libcall-tail-calls.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D142911.493342.patch
Type: text/x-patch
Size: 4330 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230130/7d2f43d5/attachment.bin>


More information about the llvm-commits mailing list