[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
Wed Feb 23 05:44:45 PST 2022
mgehre-amd updated this revision to Diff 410784.
mgehre-amd added a comment.
- Don't declare the return value of __divei4 to be the large integer. Use the first output parameter.
- Don't hard code the alignment of the arguments to be 4
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D120329/new/
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.410784.patch
Type: text/x-patch
Size: 58091 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220223/239d4ebe/attachment.bin>
More information about the llvm-commits
mailing list