[PATCH] D113527: [RISCV] Promote f16 ceil/floor/round/roundeven/nearbyint/rint/trunc intrinsics to f32 libcalls.

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 9 16:59:49 PST 2021


craig.topper created this revision.
craig.topper added reviewers: HsiangKai, evandro, khchen, frasercrmck, rogfer01, jrtc27, arcbbb.
Herald added subscribers: VincentWu, luke957, achieveartificialintelligence, StephenFan, vkmr, luismarques, apazos, sameer.abuasal, s.egerton, Jim, benna, psnobl, jocewei, PkmX, the_o, brucehoult, MartinMosbeck, edward-jones, zzheng, kito-cheng, niosHD, sabuasal, simoncook, johnrusso, rbar, asb, hiraditya.
craig.topper requested review of this revision.
Herald added a subscriber: MaskRay.
Herald added a project: LLVM.

Previously these would crash. I don't think these can be generated
directly from C. Not sure if any optimizations can introduce them.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D113527

Files:
  llvm/lib/Target/RISCV/RISCVISelLowering.cpp
  llvm/test/CodeGen/RISCV/half-intrinsics.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D113527.386016.patch
Type: text/x-patch
Size: 13323 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211110/ee9c1c14/attachment.bin>


More information about the llvm-commits mailing list