Revert "[InstCombine] fold exact sdiv to ashr"
authorSanjay Patel <spatel@rotateright.com>
Sat, 8 Oct 2022 14:02:03 +0000 (10:02 -0400)
committerSanjay Patel <spatel@rotateright.com>
Sat, 8 Oct 2022 14:02:03 +0000 (10:02 -0400)
commit68d4dbc2c17c8c0dd3e2563a82b53cb767bebc81
tree5a492f2064c48f1ab7668f108e3a58a31454a287
parentfe15290e0cf5d2bcdefca2e81ef6ff8155a2f7a8
Revert "[InstCombine] fold exact sdiv to ashr"

This reverts commit fe15290e0cf5d2bcdefca2e81ef6ff8155a2f7a8.
The test checks were not updated as expected.
llvm/lib/Transforms/InstCombine/InstCombineMulDivRem.cpp
llvm/test/Transforms/InstCombine/sdiv-exact-by-power-of-two.ll