From: Richard Biener <rguenther@suse.de>
To: Jeff Law <law@redhat.com>
Cc: Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>,
gcc-patches@gcc.gnu.org
Subject: Re: [Patch, vrp] Allow VRP type conversion folding only for widenings upto word mode
Date: Mon, 23 Nov 2015 09:54:00 -0000 [thread overview]
Message-ID: <alpine.LSU.2.11.1511231043530.4884@t29.fhfr.qr> (raw)
In-Reply-To: <564F599D.2010109@redhat.com>
On Fri, 20 Nov 2015, Jeff Law wrote:
> On 11/20/2015 10:04 AM, Senthil Kumar Selvaraj wrote:
> > On Thu, Nov 19, 2015 at 10:31:41AM -0700, Jeff Law wrote:
> > > On 11/18/2015 11:20 PM, Senthil Kumar Selvaraj wrote:
> > > > On Wed, Nov 18, 2015 at 09:36:21AM +0100, Richard Biener wrote:
> > > > >
> > > > > Otherwise ok.
> > > >
> > > > See modified patch below. If you think vrp98.c is unnecessary, feel free
> > > > to dump it :).
> > > >
> > > > If ok, could you commit it for me please? I don't have commit access.
> > > >
> > > > Regards
> > > > Senthil
> > > >
> > > > gcc/ChangeLog
> > > > 2015-11-19 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
> > > >
> > > > * tree.h (desired_pro_or_demotion_p): New function.
> > > > * tree-vrp.c (simplify_cond_using_ranges): Call it.
> > > >
> > > > gcc/testsuite/ChangeLog
> > > > 2015-11-19 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
> > > >
> > > > * gcc.dg/tree-ssa/vrp98.c: New testcase.
> > > > * gcc.target/avr/uint8-single-reg.c: New testcase.
> > > I went ahead and committed this as-is.
> > >
> > > I do think the vrp98 testcase is useful as it verifies that VRP is doing
> > > what we want in a target independent way. It's a good complement to the
> > > AVR
> > > specific testcase.
> >
> > I see the same problem on gcc-5-branch as well. Would it be ok to
> > backport the fix to that branch as well?
> That's a call for the release managers. I typically don't backport anything
> expect ICE or incorrect code generation fixes as I tend to be very
> conservative on what goes onto a release branch.
>
> Jakub, Richi or Joseph would need to ack into a release branch.
As this is fixes a regression it qualifies in principle. But as
it is an optimization regression only I'd prefer to wait a bit to look
for fallout.
Richard.
> jeff
>
>
--
Richard Biener <rguenther@suse.de>
SUSE LINUX GmbH, GF: Felix Imendoerffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nuernberg)
prev parent reply other threads:[~2015-11-23 9:46 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-11-14 7:12 Senthil Kumar Selvaraj
2015-11-14 8:13 ` Marc Glisse
2015-11-14 8:50 ` Senthil Kumar Selvaraj
2015-11-14 8:57 ` Richard Biener
2015-11-14 18:11 ` Senthil Kumar Selvaraj
2015-11-16 9:02 ` Richard Biener
2015-11-17 19:53 ` Senthil Kumar Selvaraj
2015-11-18 8:36 ` Richard Biener
2015-11-19 6:20 ` Senthil Kumar Selvaraj
2015-11-19 17:31 ` Jeff Law
2015-11-20 17:04 ` Senthil Kumar Selvaraj
2015-11-20 17:34 ` Jeff Law
2015-11-23 9:54 ` Richard Biener [this message]
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=alpine.LSU.2.11.1511231043530.4884@t29.fhfr.qr \
--to=rguenther@suse.de \
--cc=gcc-patches@gcc.gnu.org \
--cc=law@redhat.com \
--cc=senthil_kumar.selvaraj@atmel.com \
/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).