[PATCH] D120329: [SelectionDAG] Emit calls to __divei4 and friends for division/remainder of large integers
Matthias Gehre via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Feb 22 07:39:25 PST 2022
mgehre-amd created this revision.
mgehre-amd added reviewers: bogner, erichkeane, FreddyYe.
Herald added subscribers: ecnelises, pengfei, hiraditya.
mgehre-amd requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
Emit calls to __divei4 and friends for divison/remainder of large integers.
This fixes https://github.com/llvm/llvm-project/issues/44994.
The overall RFC is in https://discourse.llvm.org/t/rfc-add-support-for-division-of-large-bitint-builtins-selectiondag-globalisel-clang/60329
The compiler-rt part is in https://reviews.llvm.org/D120327
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D120329
Files:
llvm/include/llvm/IR/RuntimeLibcalls.def
llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
llvm/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp
llvm/test/CodeGen/X86/udivmodei5.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D120329.410535.patch
Type: text/x-patch
Size: 27121 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220222/c77dbfc3/attachment.bin>
More information about the llvm-commits
mailing list