This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: combine and noop moves, take 2
- To: Jan Hubicka <hubicka at atrey dot karlin dot mff dot cuni dot cz>
- Subject: Re: combine and noop moves, take 2
- From: Richard Henderson <rth at redhat dot com>
- Date: Fri, 20 Jul 2001 14:32:14 -0700
- Cc: gcc-patches at gcc dot gnu dot org, patches at x86-64 dot org
- References: <20010720223812.A14262@atrey.karlin.mff.cuni.cz>
On Fri, Jul 20, 2001 at 10:38:12PM +0200, Jan Hubicka wrote:
> Thinking about it more, I don't need update life, as it should be up-to-date
> already, because noop moves with REG_DEAD notes should be removed
> while updating life information after combine.
Um, actually, no. We don't _always_ update life info after combine.
So: I think you should set need_refresh and refresh_blocks in
try_combine when you match a noop set, then call delete_noop_moves
before update_life_info.
r~