[patch] Remove loop notes (4/8) -- cse.c:cse_end_of_basic_block
Jeffrey A Law
law@redhat.com
Mon Mar 13 16:40:00 GMT 2006
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
More information about the Gcc-patches
mailing list