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: [RFC] third liveness pass


> 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~


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