Re: More bitop simplifications in match.pd

2017-11-07 Thread Richard Biener
On Mon, Nov 6, 2017 at 10:35 PM, Marc Glisse wrote: > Hello, > > those have been on my TODO-list for a long time (found in LLVM IIRC). We > were not doing any of those transformations, even in GENERIC, so nothing to > remove from fold-const.c. The idea is that any expression involving only 2 > var

More bitop simplifications in match.pd

2017-11-06 Thread Marc Glisse
Hello, those have been on my TODO-list for a long time (found in LLVM IIRC). We were not doing any of those transformations, even in GENERIC, so nothing to remove from fold-const.c. The idea is that any expression involving only 2 variables and operators &|^~ should simplify to at most 2 insn