This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [14/46] Make STMT_VINFO_VEC_STMT a stmt_vec_info


On Tue, Jul 24, 2018 at 2:58 AM, Richard Sandiford
<richard.sandiford@arm.com> wrote:
> This patch changes STMT_VINFO_VEC_STMT from a gimple stmt to a
> stmt_vec_info and makes the vectorizable_* routines pass back
> a stmt_vec_info to vect_transform_stmt.
>
>
> 2018-07-24  Richard Sandiford  <richard.sandiford@arm.com>
>
> gcc/
>         * tree-vectorizer.h (_stmt_vec_info::vectorized_stmt): Change from
>         a gimple stmt to a stmt_vec_info.
>         (vectorizable_condition, vectorizable_live_operation)
>         (vectorizable_reduction, vectorizable_induction): Pass back the
>         vectorized statement as a stmt_vec_info.
>         * tree-vect-data-refs.c (vect_record_grouped_load_vectors): Update
>         use of STMT_VINFO_VEC_STMT.
>         * tree-vect-loop.c (vect_create_epilog_for_reduction): Likewise,
>         accumulating the inner phis that feed the STMT_VINFO_VEC_STMT
>         as stmt_vec_infos rather than gimple stmts.
>         (vectorize_fold_left_reduction): Change vec_stmt from a gimple stmt
>         to a stmt_vec_info.
>         (vectorizable_live_operation): Likewise.
>         (vectorizable_reduction, vectorizable_induction): Likewise,
>         updating use of STMT_VINFO_VEC_STMT.
>         * tree-vect-stmts.c (vect_get_vec_def_for_operand_1): Update use
>         of STMT_VINFO_VEC_STMT.
>         (vect_build_gather_load_calls, vectorizable_bswap, vectorizable_call)
>         (vectorizable_simd_clone_call, vectorizable_conversion)
>         (vectorizable_assignment, vectorizable_shift, vectorizable_operation)
>         (vectorizable_store, vectorizable_load, vectorizable_condition)
>         (vectorizable_comparison, can_vectorize_live_stmts): Change vec_stmt
>         from a gimple stmt to a stmt_vec_info.
>         (vect_transform_stmt): Update use of STMT_VINFO_VEC_STMT.  Pass a
>         pointer to a stmt_vec_info to the vectorizable_* routines.
>

This caused:

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86824

-- 
H.J.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]