This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [077/nnn] poly_int: vect_get_constant_vectors
- 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, 28 Nov 2017 09:36:14 -0700
- Subject: Re: [077/nnn] poly_int: vect_get_constant_vectors
- Authentication-results: sourceware.org; auth=none
- References: <871sltvm7r.fsf@linaro.org> <87mv4hhitu.fsf@linaro.org>
On 10/23/2017 11:31 AM, Richard Sandiford wrote:
> For now, vect_get_constant_vectors can only cope with constant-length
> vectors, although a patch after the main SVE submission relaxes this.
> This patch adds an appropriate guard for variable-length vectors.
> The TYPE_VECTOR_SUBPARTS use in vect_get_constant_vectors will then
> have a to_constant call when TYPE_VECTOR_SUBPARTS becomes a poly_int.
>
>
> 2017-10-23 Richard Sandiford <richard.sandiford@linaro.org>
> Alan Hayward <alan.hayward@arm.com>
> David Sherwood <david.sherwood@arm.com>
>
> gcc/
> * tree-vect-slp.c (vect_get_and_check_slp_defs): Reject
> constant and extern definitions for variable-length vectors.
> (vect_get_constant_vectors): Note that the number of units
> is known to be constant.
OK.
jeff
ps. Sorry about the strange ordering of acks. I'm trying to work
through the simple stuff and come back to the larger patches. The only
way to eat an elephant is a bite at a time...