This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [037/nnn] poly_int: get_bit_range
- 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 16:19:32 -0700
- Subject: Re: [037/nnn] poly_int: get_bit_range
- Authentication-results: sourceware.org; auth=none
- References: <871sltvm7r.fsf@linaro.org> <87fua9okfu.fsf@linaro.org>
On 10/23/2017 11:14 AM, Richard Sandiford wrote:
> This patch makes get_bit_range return the range and position as poly_ints.
>
>
> 2017-10-23 Richard Sandiford <richard.sandiford@linaro.org>
> Alan Hayward <alan.hayward@arm.com>
> David Sherwood <david.sherwood@arm.com>
>
> gcc/
> * expr.h (get_bit_range): Return the bitstart and bitend as
> poly_uint64s rather than unsigned HOST_WIDE_INTs. Return the bitpos
> as a poly_int64 rather than a HOST_WIDE_INT.
> * expr.c (get_bit_range): Likewise.
> (expand_assignment): Update call accordingly.
> * fold-const.c (optimize_bit_field_compare): Likewise.
OK.
jeff