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 CLEANUP_PRE_LOOP


Hello,

> > with loop.c gone, cfg cleanup does not need to care about preserving
> > structure of loop notes.  The actual use of CLEANUP_PRE_LOOP flag in
> > cfg cleanup was removed with -floop-optimize, this patch removes the
> > CLEANUP_PRE_LOOP flag itself.
> > 
> > Bootstrapped & regtested on ia64.
> > 
> > Zdenek
> > 
> > 	* cse.c (rest_of_handle_cse): Do not pass CLEANUP_PRE_LOOP to cfg
> > 	cleanup.
> > 	* gcse.c (rest_of_handle_gcse): Ditto.
> > 	* except.c (gate_handle_eh): Ditto.
> > 	* cfgcleanup.c (rest_of_handle_jump2): Ditto.
> > 	* basic-block.h (CLEANUP_PRE_LOOP): Remove.
> Nice.  Note that we also run a CSE pass after loop; that CSE pass may
> be redundant with the removal of the old loop optimizer.

new loop-unroll also needs someone to clean up after it, unfortunately.

Zdenek


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