public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: Richard Biener <richard.guenther@gmail.com>
To: Marc Glisse <marc.glisse@inria.fr>
Cc: GCC Patches <gcc-patches@gcc.gnu.org>
Subject: Re: Allow some NOP conversions in (X+CST1)+CST2 in match.pd
Date: Wed, 24 May 2017 08:47:00 -0000	[thread overview]
Message-ID: <CAFiYyc1faHMj2_cQ5XDQkC9y14n92qkW+pvFZ3w2Qr_etDr+YQ@mail.gmail.com> (raw)
In-Reply-To: <alpine.DEB.2.02.1705212114270.1178@stedding.saclay.inria.fr>

On Sun, May 21, 2017 at 9:22 PM, Marc Glisse <marc.glisse@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.glisse@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	other threads:[~2017-05-24  8:44 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-05-21 19:45 Marc Glisse
2017-05-24  8:47 ` Richard Biener [this message]
2017-05-27  8:30 ` Jakub Jelinek
2017-05-27  8:41   ` Marc Glisse

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAFiYyc1faHMj2_cQ5XDQkC9y14n92qkW+pvFZ3w2Qr_etDr+YQ@mail.gmail.com \
    --to=richard.guenther@gmail.com \
    --cc=gcc-patches@gcc.gnu.org \
    --cc=marc.glisse@inria.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).