Share clobbers of hard registers...

Richard Henderson
Mon Jan 19 21:27:00 GMT 2004

On Mon, Jan 19, 2004 at 09:48:59PM +0100, Jan Hubicka wrote:
> 	* emit-rtl.c (verify_rtx_sharing, copy_insn_1,
> 	emit_copy_of_insn_after, emit_copy_of_insn_after): Clobbers
> 	containing hard regs are shared.
> 	(gen_hard_reg_clobber): New function.
> 	(hard_reg_clobbers): New array.
> 	* genemit.c (gen_exp): Use gen_hard_reg_clobber.
> 	(copy_rtx): Do not copy clobbers containing hard regs.
> 	* rtl.h (gen_hard_reg_clobber): Declare.

I guess this is ok.  It does seem like it'd save some memory
if nothing else.


More information about the Gcc-patches mailing list