Re: Simple reassoc transforms in match.pd

2017-06-28 Thread Marc Glisse
On Mon, 26 Jun 2017, Richard Biener wrote: On Fri, Jun 23, 2017 at 3:12 PM, Marc Glisse wrote: Hello, here are a few simple transformations, mostly useful for types with undefined overflow where we do not have reassoc. I did not name the testcase reassoc-* to leave that namespace to the real

Re: Simple reassoc transforms in match.pd

2017-06-26 Thread Richard Biener
On Fri, Jun 23, 2017 at 3:12 PM, Marc Glisse wrote: > Hello, > > here are a few simple transformations, mostly useful for types with > undefined overflow where we do not have reassoc. > > I did not name the testcase reassoc-* to leave that namespace to the realloc > pass, and -fno-tree-reassoc is

Simple reassoc transforms in match.pd

2017-06-23 Thread Marc Glisse
Hello, here are a few simple transformations, mostly useful for types with undefined overflow where we do not have reassoc. I did not name the testcase reassoc-* to leave that namespace to the realloc pass, and -fno-tree-reassoc is just in case someone ever enhances that pass... Bootstrap