On 11/17/2017 02:17 AM, Richard Sandiford wrote:
> This patch makes vect_model_store_cost take a vec_load_store_type
> instead of a vect_def_type. It's a wash on its own, but it helps
> with later patches.
>
> Richard
>
>
> 2017-11-17 Richard Sandiford <richard.sandif...@linaro.org>
>
> gcc/
> * tree-vectorizer.h (vec_load_store_type): Moved from tree-vec-stmts.c
> (vect_model_store_cost): Take a vec_load_store_type instead of a
> vect_def_type.
> * tree-vect-stmts.c (vec_load_store_type): Move to tree-vectorizer.h.
> (vect_model_store_cost): Take a vec_load_store_type instead of a
> vect_def_type.
> (vectorizable_mask_load_store): Update accordingly.
> (vectorizable_store): Likewise.
> * tree-vect-slp.c (vect_analyze_slp_cost_1): Update accordingly.
>
OK.
jeff