Re: Move X==15-X to match.pd

2017-05-18 Thread Richard Biener
On Thu, May 18, 2017 at 8:24 AM, Marc Glisse wrote: > Hello, > > just moving one simple transformation to match.pd. It is actually slightly > more general, because there is no point restricting to NOP conversions when > only the lowest bit matters. > > By the way, I was thinking of removing from f

Move X==15-X to match.pd

2017-05-17 Thread Marc Glisse
Hello, just moving one simple transformation to match.pd. It is actually slightly more general, because there is no point restricting to NOP conversions when only the lowest bit matters. By the way, I was thinking of removing from fold-const.c the transformation "If we have (A & C) == D wher