Revert "[TargetLowering][RISCV][X86] Support even divisors in expandDIVREMByConstant."
authorCraig Topper <craig.topper@sifive.com>
Mon, 10 Oct 2022 21:50:06 +0000 (14:50 -0700)
committerCraig Topper <craig.topper@sifive.com>
Mon, 10 Oct 2022 21:53:29 +0000 (14:53 -0700)
commit0121b1a4ac8d521dd6c2465bf4541434d6c5f940
tree1d1c3c0ce39a43685e09933dff50dcafcec863b2
parent1ac525b28b3b0e24a762471104eee6368e954c44
Revert "[TargetLowering][RISCV][X86] Support even divisors in expandDIVREMByConstant."

This reverts commit d4facda414b6b9b8b1a34bc7e6b7c15172775318.

This has been reported to cause failures. Reverting while I investigate.
llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
llvm/test/CodeGen/RISCV/split-udiv-by-constant.ll
llvm/test/CodeGen/RISCV/split-urem-by-constant.ll
llvm/test/CodeGen/X86/divide-by-constant.ll
llvm/test/CodeGen/X86/divmod128.ll