This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: update_life_info in schedule_insns
- From: Jan Hubicka <jh at suse dot cz>
- To: Zdenek Dvorak <rakdver at atrey dot karlin dot mff dot cuni dot cz>
- Cc: gcc at gcc dot gnu dot org, wilson at cygnus dot com
- Date: Fri, 27 Dec 2002 21:24:26 +0100
- Subject: Re: update_life_info in schedule_insns
- References: <20021227192545.GA9542@atrey.karlin.mff.cuni.cz>
> Hello,
>
> > /* Don't update reg info after reload, since that affects
> > regs_ever_live, which should not change after reload. */
> > update_life_info (blocks, UPDATE_LIFE_LOCAL,
> > (reload_completed ? PROP_DEATH_NOTES
> > : PROP_DEATH_NOTES | PROP_REG_INFO));
> > if (any_large_regions)
> > {
> > update_life_info (large_region_blocks, UPDATE_LIFE_GLOBAL,
> > PROP_DEATH_NOTES | PROP_REG_INFO);
> > }
>
> why the comment above does not apply for the second update_life_info
> call?
Large regions are used only before reload. Post reload we always do
local scheduling at the moment.
It would probably make more sense to add tests into update_life_info and
do not touch regs_ever_live when we are not supposed to do so.
Honza
>
> Zdenek