[all-commits] [llvm/llvm-project] 6d13b8: Revert "[SelectionDAG] Emit calls to __divei4 and ...

Matthias Gehre via All-commits all-commits at lists.llvm.org
Fri Aug 26 02:53:19 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6d13b80fcb1a338ef29eefd54677fdbcdd7c0e4d
      https://github.com/llvm/llvm-project/commit/6d13b80fcb1a338ef29eefd54677fdbcdd7c0e4d
  Author: Matthias Gehre <matthias.gehre at xilinx.com>
  Date:   2022-08-26 (Fri, 26 Aug 2022)

  Changed paths:
    M llvm/include/llvm/IR/RuntimeLibcalls.def
    M llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
    M llvm/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp
    R llvm/test/CodeGen/AArch64/udivmodei5.ll
    R llvm/test/CodeGen/X86/udivmodei5.ll

  Log Message:
  -----------
  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




More information about the All-commits mailing list