This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch] Remove loop notes (4/8) -- cse.c:cse_end_of_basic_block


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]