On Sun, May 21, 2017 at 9:22 PM, Marc Glisse <marc.gli...@inria.fr> wrote:
> Hello,
>
> generalizing a bit one transformation, to avoid a regression with another
> patch I am working on. Handling conversions always gets messy :-( It would
> have been easier to stick to scalars and wide_int, but since the existing
> transformation handles vectors, I didn't want to regress.

The pattern looks a bit unwieldly now ;)  I pondered a bit but
couldn't really find
a better way to handle things.

Thus, ok.

Richard.


> Bootstrap+testsuite on powerpc64le-unknown-linux-gnu.
>
> 2017-05-22  Marc Glisse  <marc.gli...@inria.fr>
>
> gcc/
>         * match.pd ((A +- CST1) +- CST2): Allow some conversions.
>         * tree.c (drop_tree_overflow): Handle COMPLEX_CST and VECTOR_CST.
>
> gcc/testsuite/
>         * gcc.dg/tree-ssa/addadd.c: New file.
>
> --
> Marc Glisse

Reply via email to