gcc-patches@gcc.gnu.org
[Top] [All Lists]

Re: Prevent reload from copying many instructions

Subject: Re: Prevent reload from copying many instructions
From: Ian Lance Taylor
Date: 16 Aug 2006 08:05:58 -0700
Jan Hubicka <jh@xxxxxxx> writes:

>       * reload1.c (forget_marked_reloads): New function.
>       (forget_old_reloads_1): When data are passed, just mark the registers
>       for later removal.
>       (reload_as_needed): Use the new mechanizm.
> -       rtx oldpat = copy_rtx (PATTERN (insn));
> -
> +       regset_head regs_to_forget;
> +       INIT_REG_SET (&regs_to_forget);
> +       note_stores (PATTERN (insn), forget_old_reloads_1, &regs_to_forget);
>         /* If this is a USE and CLOBBER of a MEM, ensure that any
>            references to eliminable registers have been removed.  */
>  

Please add a blank line before the comment.

OK with that change.

Thanks.

:REVIEWMAIL:

Ian

<Prev in Thread] Current Thread [Next in Thread>