Revert "[SelectionDAG] Emit calls to __divei4 and friends for division/remainder...
authorMatthias Gehre <matthias.gehre@xilinx.com>
Wed, 25 May 2022 15:00:54 +0000 (16:00 +0100)
committerMatthias Gehre <matthias.gehre@xilinx.com>
Fri, 26 Aug 2022 09:52:56 +0000 (10:52 +0100)
commit6d13b80fcb1a338ef29eefd54677fdbcdd7c0e4d
tree61f73782b428c72284522e44e01eebd7281d86b9
parent23b2fbf9ecf6c7f5ed22cf65ff1cd34f5ac6e7a0
Revert "[SelectionDAG] Emit calls to __divei4 and friends for division/remainder of large integers"

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

Differential Revision: https://reviews.llvm.org/D130079
llvm/include/llvm/IR/RuntimeLibcalls.def
llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
llvm/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp
llvm/test/CodeGen/AArch64/udivmodei5.ll [deleted file]
llvm/test/CodeGen/X86/udivmodei5.ll [deleted file]