Sanjay Patel 3fabd98e5b [InstCombine] fold (trunc (X>>C1)) << C to shift+mask directly
This is no-externally-visible-functional-difference-intended.
That is, the test diffs show identical instructions other than
name changes (those are included specifically to verify the logic).

The existing transforms created extra instructions and relied
on subsequent folds to get to the final result, but that could
conflict with other transforms like the proposed D110170 (and
caused that patch to be reverted twice so far because of infinite
combine loops).
2021-10-01 14:22:44 -04:00
..
2020-06-30 19:56:37 +01:00
2020-02-27 09:06:03 -08:00
2019-08-14 16:50:06 +00:00
2021-08-13 12:02:32 +08:00
2019-09-11 10:51:26 +00:00
2019-09-06 16:26:59 +00:00
2021-08-16 09:28:06 -07:00
2020-10-17 12:20:18 -04: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.