[RFC] third liveness pass

Jan Hubicka jh@suse.cz
Mon May 27 05:07:00 GMT 2002


> On Mon, May 27, 2002 at 09:00:44AM +0200, Jan Hubicka wrote:
> > 	* basic-block.h (PEOP_SCAN_DEAD_STORES): New.
> > 	(PROP_FINAL): Include.
> > 	* flow.c (life_analysis, update_life_info,
> > 	init_propagate_block_info, mark_set_1, mark_used_rgs):
> > 	Support SCAN_DEAD_STORE.
> 
> Ok.
Looking at the code, we still run dead store removal when not
optimizing.  That looks like mistake, as the pass really is somewhat
expensive.

Would be OK to make patch that moves PROP_SCAN_DEAD_STORES out of
PROP_FINAL and makes the PROP_FINAL pass to include it conditionally?  I
still guess we can include dead code removal as it pays back by avoiding
reload/global to work too hard.

Honza
> 
> 
> r~



More information about the Gcc-patches mailing list