This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [041/nnn] poly_int: reload.c
- From: Jeff Law <law at redhat dot com>
- To: gcc-patches at gcc dot gnu dot org, richard dot sandiford at linaro dot org
- Date: Tue, 5 Dec 2017 10:10:21 -0700
- Subject: Re: [041/nnn] poly_int: reload.c
- Authentication-results: sourceware.org; auth=none
- References: <871sltvm7r.fsf@linaro.org> <87y3o1n5pz.fsf@linaro.org>
On 10/23/2017 11:18 AM, Richard Sandiford wrote:
> This patch makes a few small poly_int64 changes to reload.c,
> such as in the "decomposition" structure. In practice, any
> port with polynomial-sized modes should be using LRA rather
> than reload, but it's easier to convert reload anyway than
> to sprinkle to_constants everywhere.
>
>
> 2017-10-23 Richard Sandiford <richard.sandiford@linaro.org>
> Alan Hayward <alan.hayward@arm.com>
> David Sherwood <david.sherwood@arm.com>
>
> gcc/
> * reload.h (reload::inc): Change from an int to a poly_int64_pod.
> * reload.c (combine_reloads, debug_reload_to_stream): Likewise.
> (decomposition): Change start and end from HOST_WIDE_INT
> to poly_int64_pod.
> (decompose, immune_p): Update accordingly.
> (find_inc_amount): Return a poly_int64 rather than an int.
> * reload1.c (inc_for_reload): Take the inc_amount as a poly_int64
> rather than an int.
OK.
jeff