This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Simple regmove cleanup
- To: Jan Hubicka <hubicka at atrey dot karlin dot mff dot cuni dot cz>
- Subject: Re: Simple regmove cleanup
- From: Richard Henderson <rth at cygnus dot com>
- Date: Fri, 3 Dec 1999 00:31:46 -0800
- Cc: egcs-patches at egcs dot cygnus dot com
- References: <19991203003121.31172@atrey.karlin.mff.cuni.cz>
On Fri, Dec 03, 1999 at 12:31:21AM +0100, Jan Hubicka wrote:
> BTW the comment in toplev.c says:
> /* We recomputed reg usage as part of updating the rest
> of life info during sched. */
> if (! flag_schedule_insns)
> recompute_reg_usage (insns, ! optimize_size);
> Can you point me to the place where this happends from sched?
The big hairy code that used to be there is gone. Now it
happens via update_life_info by virtue of PROP_REG_INFO.
> * regmove.c (copy_src_to_dest): Remove loop_depth parameter.
> (optimize_reg_copy_1): Remove REG_N_REFS updating code.
> (optimize_reg_copy_2, copy_src_to_dest, fixup_match_2): Likewise.
> (regmove_optimize, fixup_match_1): Likewise.
Ok.
r~