This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: RFA: avoid creating temporary rtl in get/has_hard_reg_initial_val
- From: Roger Sayle <roger at eyesopen dot com>
- To: Richard Sandiford <rsandifo at redhat dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Sat, 7 May 2005 09:54:09 -0600 (MDT)
- Subject: Re: RFA: avoid creating temporary rtl in get/has_hard_reg_initial_val
On Sat, 7 May 2005, Richard Sandiford wrote:
>
> * integrate.c (get_func_hard_reg_initial_val): Delete.
> (has_func_hard_reg_initial_val): Delete.
> (get_hard_reg_initial_val): Inline the old implementation of
> get_func_hard_reg_initial_val. Use has_hard_reg_initial_val
> instead of has_func_hard_reg_initial_val to test for an existing
> pseudo. Only create an rtx if a new initial value entry is needed.
> (has_hard_reg_initial_val): Scan the initial value list directly.
> Don't create an rtx.
This is OK for mainline.
Thanks,
Roger
--