This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Share clobbers of hard registers...
- From: Richard Henderson <rth at redhat dot com>
- To: Jan Hubicka <jh at suse dot cz>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Mon, 19 Jan 2004 13:27:46 -0800
- Subject: Re: Share clobbers of hard registers...
- References: <20040119204859.GX7878@kam.mff.cuni.cz>
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~