Craig Topper 56b33391d3 [SelectionDAG] Move ISD:PARITY formation from DAGCombine to SimplifyDemandedBits.
Previously, we formed ISD::PARITY by looking for (and (ctpop X), 1)
but the AND might be separated from the ctpop. For example if the
parity result is multiplied by 2, we'll pull the AND through the
shift.

So to handle more cases, move to SimplifyDemandedBits where we
can handle more cases that result in only the LSB of the CTPOP
being used.
2020-09-13 21:04:13 -07:00
..
2020-07-07 10:13:40 +08:00
2020-06-25 10:06:27 +08:00
2020-07-20 10:23:09 -04:00
2020-06-21 15:54:17 +01:00
2020-03-24 23:04:58 +09:00
2020-02-08 15:23:40 +00:00
2020-09-09 23:53:32 +02:00
2020-09-09 23:53:32 +02:00
2020-02-08 15:23:40 +00:00
2020-01-06 10:50:26 +00:00
2020-04-09 10:36:00 +01:00
2020-07-23 20:56:19 +02:00
2020-07-23 20:56:19 +02:00
2020-01-31 09:36:55 -08:00
2020-07-23 20:56:19 +02:00
2020-07-23 20:56:19 +02:00