Step 1 --- gcc/tree-vect-stmts.cc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/gcc/tree-vect-stmts.cc b/gcc/tree-vect-stmts.cc index 3373d75a8ae..7a6a10ee0e6 100644 --- a/gcc/tree-vect-stmts.cc +++ b/gcc/tree-vect-stmts.cc @@ -6985,7 +6985,7 @@ vectorizable_operation (vec_info *vinfo, /* Multiple types in SLP are handled by creating the appropriate number of vectorized stmts for each SLP node. Hence, NCOPIES is always 1 in case of SLP. */ - if (slp_node) + if (1) { ncopies = 1; vec_num = SLP_TREE_NUMBER_OF_VEC_STMTS (slp_node); @@ -7098,7 +7098,7 @@ vectorizable_operation (vec_info *vinfo, } /* Put types on constant and invariant SLP children. */ - if (slp_node + if (1 && (!vect_maybe_update_slp_op_vectype (slp_op0, vectype) || !vect_maybe_update_slp_op_vectype (slp_op1, vectype) || !vect_maybe_update_slp_op_vectype (slp_op2, vectype))) @@ -7120,7 +7120,7 @@ vectorizable_operation (vec_info *vinfo, vector stmt. See below for the actual lowering that will be applied. */ unsigned n - = slp_node ? SLP_TREE_NUMBER_OF_VEC_STMTS (slp_node) : ncopies; + = 1 ? SLP_TREE_NUMBER_OF_VEC_STMTS (slp_node) : ncopies; switch (code) { case PLUS_EXPR: @@ -7428,13 +7428,13 @@ vectorizable_operation (vec_info *vinfo, new_stmt, gsi); } - if (slp_node) + if (1) slp_node->push_vec_def (new_stmt); else STMT_VINFO_VEC_STMTS (stmt_info).safe_push (new_stmt); } - if (!slp_node) + if (0) *vec_stmt = STMT_VINFO_VEC_STMTS (stmt_info)[0]; vec_oprnds0.release (); -- 2.43.0