[PATCH] D109383: [RISCV] Disable use of i128 shift libcalls on RV32.

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 7 12:16:57 PDT 2021


craig.topper created this revision.
craig.topper added reviewers: asb, luismarques, efriedma.
Herald added subscribers: StephenFan, vkmr, frasercrmck, evandro, apazos, sameer.abuasal, pengfei, 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, kristof.beyls.
craig.topper requested review of this revision.
Herald added a subscriber: MaskRay.
Herald added a project: LLVM.

Since i128 isn't a legal C type on RV32, I don't believe
compiler-rt or libgcc implement these functions for RV32.

This is consistent with 32-bit X86 and ARM.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D109383

Files:
  llvm/lib/Target/RISCV/RISCVISelLowering.cpp
  llvm/test/CodeGen/RISCV/shifts.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D109383.371147.patch
Type: text/x-patch
Size: 15026 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210907/54e10697/attachment.bin>


More information about the llvm-commits mailing list