--- gcc/tree-vect-stmts.cc | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-)
diff --git a/gcc/tree-vect-stmts.cc b/gcc/tree-vect-stmts.cc index bf1fcdc0940..f5193c58e94 100644 --- a/gcc/tree-vect-stmts.cc +++ b/gcc/tree-vect-stmts.cc @@ -3572,7 +3572,7 @@ vectorizable_call (vec_info *vinfo, if (ifn == IFN_LAST && !fndecl) { if (cfn == CFN_GOMP_SIMD_LANE - && (!slp_node || SLP_TREE_LANES (slp_node) == 1) + && (!1 || SLP_TREE_LANES (slp_node) == 1) && loop_vinfo && LOOP_VINFO_LOOP (loop_vinfo)->simduid && TREE_CODE (gimple_call_arg (stmt, 0)) == SSA_NAME @@ -3599,7 +3599,7 @@ vectorizable_call (vec_info *vinfo, } } - if (slp_node) + if (1) ncopies = 1; else if (modifier == NARROW && ifn == IFN_LAST) ncopies = vect_get_num_copies (loop_vinfo, vectype_out); @@ -3618,7 +3618,7 @@ vectorizable_call (vec_info *vinfo, vec_loop_lens *lens = (loop_vinfo ? &LOOP_VINFO_LENS (loop_vinfo) : NULL); if (!vec_stmt) /* transformation not required. */ { - if (slp_node) + if (1) for (i = 0; i < nargs; ++i) if (!vect_maybe_update_slp_op_vectype (slp_op[i], vectypes[i] @@ -3632,7 +3632,7 @@ vectorizable_call (vec_info *vinfo, STMT_VINFO_TYPE (stmt_info) = call_vec_info_type; DUMP_VECT_SCOPE ("vectorizable_call"); vect_model_simple_cost (vinfo, ncopies, dt, ndts, slp_node, cost_vec); - if (ifn != IFN_LAST && modifier == NARROW && !slp_node) + if (ifn != IFN_LAST && modifier == NARROW && !1) record_stmt_cost (cost_vec, ncopies / 2, vec_promote_demote, stmt_info, 0, vect_body); @@ -3657,7 +3657,7 @@ vectorizable_call (vec_info *vinfo, else { unsigned int nvectors - = (slp_node + = (1 ? SLP_TREE_NUMBER_OF_VEC_STMTS (slp_node) : ncopies); tree scalar_mask = NULL_TREE; @@ -3715,7 +3715,7 @@ vectorizable_call (vec_info *vinfo, for (j = 0; j < ncopies; ++j) { /* Build argument list for the vectorized call. */ - if (slp_node) + if (1) { if (cfn == CFN_GOMP_SIMD_LANE) { @@ -3945,7 +3945,7 @@ vectorizable_call (vec_info *vinfo, else vargs.truncate (0); - if (slp_node) + if (1) { vec<tree> vec_oprnds0; @@ -4001,7 +4001,7 @@ vectorizable_call (vec_info *vinfo, STMT_VINFO_VEC_STMTS (stmt_info).safe_push (new_stmt); } - if (!slp_node) + if (!1) *vec_stmt = STMT_VINFO_VEC_STMTS (stmt_info)[0]; for (i = 0; i < nargs; i++) @@ -4021,7 +4021,7 @@ vectorizable_call (vec_info *vinfo, it defines is mapped to the new definition. So just replace rhs of the statement with something harmless. */ - if (slp_node) + if (1) return true; stmt_info = vect_orig_stmt (stmt_info); -- 2.43.0