On 10/23/2017 11:41 AM, Richard Sandiford wrote:
> The GET_MODE_NUNITS patch made vect_grouped_store_supported and
> vect_grouped_load_supported check for a constant number of elements,
> so vect_permute_store_chain and vect_permute_load_chain can assert
> for that.  This patch adds commentary to that effect; the actual
> asserts will be added by a later, more mechanical, patch.
> 
> The patch also reorganises the function so that the asserts
> are linked specifically to code that builds permute vectors
> element-by-element.  This allows a later patch to add support
> for some variable-length permutes.
> 
> 
> 2017-10-23  Richard Sandiford  <richard.sandif...@linaro.org>
>           Alan Hayward  <alan.hayw...@arm.com>
>           David Sherwood  <david.sherw...@arm.com>
> 
> gcc/
>       * tree-vect-data-refs.c (vect_permute_store_chain): Reorganize
>       so that both the length == 3 and length != 3 cases set up their
>       own permute vectors.  Add comments explaining why we know the
>       number of elements is constant.
>       (vect_permute_load_chain): Likewise.
This is OK.  Obviously it can't go in until if/when the whole it is ack'd.

Jeff

Reply via email to