[patch] Changes to enable peeling non-innermost loops

Roger Sayle roger@eyesopen.com
Fri Nov 10 02:35:00 GMT 2006


On Fri, 10 Nov 2006, Zdenek Dvorak wrote:
>
> 	* cfgloopmanip.c (update_single_exit_for_duplicated_loop,
> 	update_single_exit_for_duplicated_loops): New functions.
> 	(duplicate_loop_to_header_edge): Use
> 	update_single_exit_for_duplicated_loops.
> 	* tree-ssa-loop-manip.c (tree_unroll_loop): Call verification
> 	functions only with ENABLE_CHECKING.

This is OK for mainline.

Any plans of generalize this code further so that irreducible loops
can be made reducible by peeling them?

Roger
--



More information about the Gcc-patches mailing list