This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [059/nnn] poly_int: tree-ssa-loop-ivopts.c:iv_use
- 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:26:53 -0700
- Subject: Re: [059/nnn] poly_int: tree-ssa-loop-ivopts.c:iv_use
- Authentication-results: sourceware.org; auth=none
- References: <871sltvm7r.fsf@linaro.org> <87she9kc9y.fsf@linaro.org>
On 10/23/2017 11:24 AM, Richard Sandiford wrote:
> This patch makes ivopts handle polynomial address offsets
> when recording potential IV uses.
>
>
> 2017-10-23 Richard Sandiford <richard.sandiford@linaro.org>
> Alan Hayward <alan.hayward@arm.com>
> David Sherwood <david.sherwood@arm.com>
>
> gcc/
> * tree-ssa-loop-ivopts.c (iv_use::addr_offset): Change from
> an unsigned HOST_WIDE_INT to a poly_uint64_pod.
> (group_compare_offset): Update accordingly.
> (split_small_address_groups_p): Likewise.
> (record_use): Take addr_offset as a poly_uint64 rather than
> an unsigned HOST_WIDE_INT.
> (strip_offset): Return the offset as a poly_uint64 rather than
> an unsigned HOST_WIDE_INT.
> (record_group_use, split_address_groups): Track polynomial offsets.
> (add_iv_candidate_for_use): Likewise.
> (addr_offset_valid_p): Take the offset as a poly_int64 rather
> than a HOST_WIDE_INT.
> (strip_offset_1): Return the offset as a poly_int64 rather than
> a HOST_WIDE_INT.
OK.
jeff