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]

Re: Simple regmove cleanup


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~


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