diff options
author | Richard Sandiford <richard.sandiford@arm.com> | 2018-07-31 14:22:17 +0000 |
---|---|---|
committer | Richard Sandiford <rsandifo@gcc.gnu.org> | 2018-07-31 14:22:17 +0000 |
commit | 16edaeb8a6b1cd72b2eedfe8cac684ac3f4785c2 (patch) | |
tree | 3d56b2b0003ad81f21d5403a79c08221865abe4a /gcc/tree-vect-data-refs.c | |
parent | 1eede195fc02f5198b48d75b3fb7705c4c1493dd (diff) | |
download | gcc-16edaeb8a6b1cd72b2eedfe8cac684ac3f4785c2.zip gcc-16edaeb8a6b1cd72b2eedfe8cac684ac3f4785c2.tar.gz gcc-16edaeb8a6b1cd72b2eedfe8cac684ac3f4785c2.tar.bz2 |
[15/46] Make SLP_TREE_VEC_STMTS a vec<stmt_vec_info>
This patch changes SLP_TREE_VEC_STMTS from a vec<gimple *> to a
vec<stmt_vec_info>. This involved making the same change to the
phis vector in vectorizable_reduction, since SLP_TREE_VEC_STMTS is
spliced into it here:
phis.splice (SLP_TREE_VEC_STMTS (slp_node_instance->reduc_phis));
2018-07-31 Richard Sandiford <richard.sandiford@arm.com>
gcc/
* tree-vectorizer.h (_slp_tree::vec_stmts): Change from a
vec<gimple *> to a vec<stmt_vec_info>.
* tree-vect-loop.c (vect_create_epilog_for_reduction): Change
the reduction_phis argument from a vec<gimple *> to a
vec<stmt_vec_info>.
(vectorizable_reduction): Likewise the phis local variable that
is passed to vect_create_epilog_for_reduction. Update for new type
of SLP_TREE_VEC_STMTS.
(vectorizable_induction): Update for new type of SLP_TREE_VEC_STMTS.
(vectorizable_live_operation): Likewise.
* tree-vect-slp.c (vect_get_slp_vect_defs): Likewise.
(vect_transform_slp_perm_load, vect_schedule_slp_instance): Likewise.
From-SVN: r263130
Diffstat (limited to 'gcc/tree-vect-data-refs.c')
0 files changed, 0 insertions, 0 deletions