public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: Jakub Jelinek <jakub@redhat.com>
To: Richard Biener <rguenther@suse.de>, gcc-patches@gcc.gnu.org
Subject: Re: [PATCH] strlen: Return TODO_update_address_taken when memcmp has been optimized [PR96271]
Date: Sat, 16 Jan 2021 02:00:38 +0100	[thread overview]
Message-ID: <20210116010038.GX1034503@tucnak> (raw)
In-Reply-To: <20210115210241.GR1034503@tucnak>

On Fri, Jan 15, 2021 at 10:02:41PM +0100, Jakub Jelinek via Gcc-patches wrote:
> Like this?

Bootstrapped/regtested successfully on x86_64-linux and i686-linux.

> 2021-01-15  Jakub Jelinek  <jakub@redhat.com>
> 
> 	PR tree-optimization/96271
> 	* passes.def: Pass false argument to first two pass_cd_dce
> 	instances and true to last instance.  Add comment that
> 	last instance rewrites no longer addressed locals.
> 	(pass_cd_dce): Add update_address_taken_p member and initialize it.
> 	(pass_cd_dce::set_pass_param): New method.
> 	(pass_cd_dce::execute): Return TODO_update_address_taken from
> 	last cd_dce instance.
> 
> 	* gcc.target/i386/pr96271.c: New test.

	Jakub


  reply	other threads:[~2021-01-16  1:00 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-15 18:32 Jakub Jelinek
2021-01-15 19:48 ` Richard Biener
2021-01-15 19:57   ` Jakub Jelinek
2021-01-15 20:16     ` Richard Biener
2021-01-15 20:31       ` Jakub Jelinek
2021-01-15 21:02         ` Jakub Jelinek
2021-01-16  1:00           ` Jakub Jelinek [this message]
2021-01-16  7:52             ` Richard Biener

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=20210116010038.GX1034503@tucnak \
    --to=jakub@redhat.com \
    --cc=gcc-patches@gcc.gnu.org \
    --cc=rguenther@suse.de \
    /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).