[PATCH] D130079: Revert "[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 Jul 19 05:04:59 PDT 2022


mgehre-amd created this revision.
mgehre-amd added reviewers: pengfei, LuoYuanke.
Herald added subscribers: jsji, ecnelises, hiraditya.
Herald added a project: All.
mgehre-amd requested review of this revision.
Herald added a project: LLVM.

This reverts https://reviews.llvm.org/D120329.
I abandoned the PR [0] to add __divei4 functions to compiler-rt
in favor of adding a pass to transform div/rem [1].

This removes the backend code that was supposed to emit calls to the __divei4 functions.

[0] https://reviews.llvm.org/D120327
[1] https://reviews.llvm.org/D130076


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D130079

Files:
  llvm/include/llvm/IR/RuntimeLibcalls.def
  llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
  llvm/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp
  llvm/test/CodeGen/AArch64/udivmodei5.ll
  llvm/test/CodeGen/X86/udivmodei5.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D130079.445785.patch
Type: text/x-patch
Size: 65039 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220719/9bdecebd/attachment.bin>


More information about the llvm-commits mailing list