On 11/17/2017 02:20 AM, Richard Sandiford wrote:
> vectorizable_mask_load_store and vectorizable_load used the same
> code to build a gather load call, except that the former also
> vectorised a mask argument and used it for both the src and mask
> inputs.  The latter instead used a src input of zero and a mask
> input of all-ones.
> 
> This patch splits the code out into a subroutine.
> 
> Richard
> 
> 
> 2017-11-17  Richard Sandiford  <richard.sandif...@linaro.org>
> 
> gcc/
>       * tree-vect-stmts.c (vect_build_gather_load_calls): New function,
>       split out from...
>       (vectorizable_mask_load_store): ...here.
>       (vectorizable_load): ...and here.
OK.  Note I didn't realize until this patch that this is dependent on
the poly patch series.  Obviously you can't commit them yet.

jeff

Reply via email to