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]
Other format: [Raw text]

Re: Share clobbers of hard registers...


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.


r~


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