Revert "[InstCombine] fold mul with decremented "shl -1" factor"
authorFlorian Mayer <fmayer@google.com>
Tue, 1 Nov 2022 00:39:05 +0000 (17:39 -0700)
committerFlorian Mayer <fmayer@google.com>
Tue, 1 Nov 2022 00:39:05 +0000 (17:39 -0700)
commite1de7ac20ff35aab00942f8adbc37a35ad67eaa4
tree3e9b1157b1af0c9eca4dd130831c6db07ac777e1
parent2390bb2347703bf500333fcd4d8c1b513a6e1740
Revert "[InstCombine] fold mul with decremented "shl -1" factor"

This reverts commit bc886e9b587b9d009f49b12eaaa9ebc1c71905a1.

Broke MSAN bootstrap buildbots with Assertion `RangeAfterCopy % ExtraScale == 0 && "Extra instruction requires immediate to be aligned"' failed.
llvm/lib/Transforms/InstCombine/InstCombineMulDivRem.cpp
llvm/test/Transforms/InstCombine/mul.ll