This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch] tree-ssa-loop-ivopts.c: Remove a redundant call toupdate_stmt.
- From: Jeffrey A Law <law at redhat dot com>
- To: Kazu Hirata <kazu at cs dot umass dot edu>
- Cc: gcc-patches at gcc dot gnu dot org, dvorakz at suse dot cz
- Date: Wed, 04 May 2005 07:50:19 -0600
- Subject: Re: [patch] tree-ssa-loop-ivopts.c: Remove a redundant call toupdate_stmt.
- References: <20050504.011542.120623174.kazu@cs.umass.edu>
- Reply-to: law at redhat dot com
On Wed, 2005-05-04 at 01:15 -0400, Kazu Hirata wrote:
> Hi,
>
> Attached is a patch to remove a redundant call to update_stmt.
>
> COPY shown in the patch is a newly created statement. As such, it
> does not have a statement annotation yet. When we insert the new
> statement with bsi_insert_before, it will eventually call
> update_stmt_operands, so we don't need to explicitly call update_stmt
> here.
>
> Tested on i686-pc-linux-gnu. OK to apply?
>
> Kazu Hirata
>
> 2005-05-04 Kazu Hirata <kazu@cs.umass.edu>
>
> * tree-ssa-loop-ivopts.c (rewrite_address_base): Don't call
> update_stmt.
This is fine. Please install if you haven't done so already.
Thanks,
jeff