[patch] Remove loop notes (2/8) -- jump.c:follow_jumps

Jeffrey A Law law@redhat.com
Fri Mar 10 17:40:00 GMT 2006


On Fri, 2006-03-10 at 10:18 +0100, Zdenek Dvorak wrote:
> Hello,
> 
> follow_jumps claims to look for loop notes in order to 'prevent creating
> loops with multiple entries, which prevent loop optimizations'.
> However, it is only used in cse.c (that won't redirect edges), and
> then way after all loop optimizations.  This patch removes the code
> that checks for loop notes.
> 
> Bootstrapped & regtested on ia64.
> 
> Zdenek
> 
> 	* jump.c (follow_jumps): Do not check for loop notes.
Approved.  Your changelog should also mention factoring the
test for flag_test_coverage out of the the loop as well.

jeff




More information about the Gcc-patches mailing list