This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [8/9] Hide call_used_regs in target-independent code
- 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: Tue, 10 Sep 2019 12:36:10 -0600
- Subject: Re: [8/9] Hide call_used_regs in target-independent code
- References: <mptef0o3yoq.fsf@arm.com> <mptef0o2jq6.fsf@arm.com>
On 9/10/19 10:34 AM, Richard Sandiford wrote:
> Now that tests of call_used_regs go through call_used_or_fixed_reg_p,
> we can hide call_used_regs from target-independent code. (It still
> needs to be available to targets for the conditional register usage
> hooks.)
>
>
> 2019-09-10 Richard Sandiford <richard.sandiford@arm.com>
>
> gcc/
> * hard-reg-set.h (call_used_regs): Only define if IN_TARGET_CODE.
> (call_used_or_fixed_reg_p): Expand definition of call_used_regs.
> * reginfo.c (call_used_regs): New macro.
OK
jeff