Roman Lebedev be02adfad7
[InstCombine] Fold (x + C1) * (-1<<C2) --> (-C1 - x) * (1<<C2)
Negator knows how to do this, but the one-use reasoning is getting
a bit muddy here, we don't really want to increase instruction count,
so we need to both lie that "IsNegation" and have an one-use check
on the outermost LHS value.
2020-08-06 23:40:16 +03: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
2020-02-27 09:06:03 -08:00
2019-09-11 10:51:26 +00:00
2019-09-06 16:26:59 +00:00
2020-07-03 10:04:37 +01:00
2019-06-21 17:51:18 +00: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.