Noah Goldstein 513251b765 [InstCombine] Improve transforms for (mul X, Y) -> (shl X, log2(Y)
Using the more robust log2 search allows us to fold more cases (same
logic as exists for idiv/irem).

Reviewed By: nikic

Differential Revision: https://reviews.llvm.org/D146347
2023-04-07 14:58:20 -05:00
..
2023-03-22 23:27:59 -07:00
2022-08-24 22:41:38 +00:00
2023-02-20 10:49:44 +01:00
2022-12-15 12:03:47 -05:00
2022-12-15 12:03:47 -05:00

This directory contains test cases for the instcombine transformation.  The
dated tests are actual bug tests, whereas the named tests are used to test
for features that the this pass should be capable of performing.