This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [32/32] Hide regs_invalidated_by_call etc.
- From: Jeff Law <law at redhat dot com>
- To: gcc-patches at gcc dot gnu dot org, richard dot sandiford at arm dot com
- Date: Sun, 29 Sep 2019 16:22:22 -0600
- Subject: Re: [32/32] Hide regs_invalidated_by_call etc.
- References: <mptimpyzmf1.fsf@arm.com> <mptmufatzdm.fsf@arm.com>
On 9/11/19 1:19 PM, Richard Sandiford wrote:
> The previous patches removed all target-independent uses of
> regs_invalidated_by_call, call_used_or_fixed_regs and
> call_used_or_fixed_reg_p. This patch therefore restricts
> them to target-specific code (and reginfo.c, which sets them up).
>
>
> 2019-09-11 Richard Sandiford <richard.sandiford@arm.com>
>
> gcc/
> * hard-reg-set.h (regs_invalidated_by_call): Only define if
> IN_TARGET_CODE.
> (call_used_or_fixed_regs): Likewise.
> (call_used_or_fixed_reg_p): Likewise.
> * reginfo.c (regs_invalidated_by_call): New macro.
OK.
jeff