This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch] Remove loop notes (4/8) -- cse.c:cse_end_of_basic_block
- From: Jeffrey A Law <law at redhat dot com>
- To: Zdenek Dvorak <rakdver at atrey dot karlin dot mff dot cuni dot cz>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Mon, 13 Mar 2006 09:39:15 -0700
- Subject: Re: [patch] Remove loop notes (4/8) -- cse.c:cse_end_of_basic_block
- References: <20060310192817.GA29990@atrey.karlin.mff.cuni.cz>
- Reply-to: law at redhat dot com
On Fri, 2006-03-10 at 20:28 +0100, Zdenek Dvorak wrote:
> Hello,
>
> the check for loop end in cse_end_of_basic_block seems to be more or
> less superfluous. Removing it will affect outcome only in one case -- if
> it is preceded by a BARRIER (with possibly some notes intervening in
> between) and follow_jumps == 1. In this case, following the jump is
> currently prevented by the LOOP_END note; however, following the jump
> in this case is correct and should not cause any problems. This patch
> removes the check.
>
> Bootstrapped & regtested on ia64.
>
> Zdenek
>
> * cse.c (cse_end_of_basic_block): Do not check for LOOP_END note.
OK.
Jeff