---
gcc/tree-vect-loop.cc | 18 +++++++++---------
1 file changed, 9 insertions(+), 9 deletions(-)
diff --git a/gcc/tree-vect-loop.cc b/gcc/tree-vect-loop.cc
index fe6f3cf188e..36087d130d5 100644
--- a/gcc/tree-vect-loop.cc
+++ b/gcc/tree-vect-loop.cc
@@ -9723,7 +9723,7 @@ vectorizable_nonlinear_induction (loop_vec_info
loop_vinfo,
/* TODO: Support multi-lane SLP for nonlinear iv. There should be separate
vector iv update for each iv and a permutation to generate wanted
vector iv. */
- if (slp_node && SLP_TREE_LANES (slp_node) > 1)
+ if (1 && SLP_TREE_LANES (slp_node) > 1)
{
if (dump_enabled_p ())
dump_printf_loc (MSG_MISSED_OPTIMIZATION, vect_location,
@@ -9934,7 +9934,7 @@ vectorizable_nonlinear_induction (loop_vec_info
loop_vinfo,
add_phi_arg (induction_phi, vec_def, loop_latch_edge (iv_loop),
UNKNOWN_LOCATION);
- if (slp_node)
+ if (1)
slp_node->push_vec_def (induction_phi);
else
{
@@ -9970,7 +9970,7 @@ vectorizable_nonlinear_induction (loop_vec_info
loop_vinfo,
induction_type);
gsi_insert_seq_before (&si, stmts, GSI_SAME_STMT);
new_stmt = SSA_NAME_DEF_STMT (vec_def);
- if (slp_node)
+ if (1)
slp_node->push_vec_def (new_stmt);
else
STMT_VINFO_VEC_STMTS (stmt_info).safe_push (new_stmt);
@@ -10037,7 +10037,7 @@ vectorizable_induction (loop_vec_info loop_vinfo,
tree vectype = STMT_VINFO_VECTYPE (stmt_info);
poly_uint64 nunits = TYPE_VECTOR_SUBPARTS (vectype);
- if (slp_node)
+ if (1)
ncopies = 1;
else
ncopies = vect_get_num_copies (loop_vinfo, vectype);
@@ -10096,7 +10096,7 @@ vectorizable_induction (loop_vec_info loop_vinfo,
iv_loop = loop;
gcc_assert (iv_loop == (gimple_bb (phi))->loop_father);
- if (slp_node && (!nunits.is_constant () && SLP_TREE_LANES (slp_node) != 1))
+ if (1 && (!nunits.is_constant () && SLP_TREE_LANES (slp_node) != 1))
{
/* The current SLP code creates the step value element-by-element. */
if (dump_enabled_p ())
@@ -10152,7 +10152,7 @@ vectorizable_induction (loop_vec_info loop_vinfo,
if (!vec_stmt) /* transformation not required. */
{
unsigned inside_cost = 0, prologue_cost = 0;
- if (slp_node)
+ if (1)
{
/* We eventually need to set a vector type on invariant
arguments. */
@@ -10178,7 +10178,7 @@ vectorizable_induction (loop_vec_info loop_vinfo,
scalar_to_vec,
stmt_info, 0, vect_prologue);
}
- else /* if (!slp_node) */
+ else /* if (0) */
{
/* loop cost for vec_loop. */
inside_cost = record_stmt_cost (cost_vec, ncopies, vector_stmt,
@@ -10217,7 +10217,7 @@ vectorizable_induction (loop_vec_info loop_vinfo,
with group size 3 we need
[i0, i1, i2, i0 + S0] [i1 + S1, i2 + S2, i0 + 2*S0, i1 + 2*S1]
[i2 + 2*S2, i0 + 3*S0, i1 + 3*S1, i2 + 3*S2]. */
- if (slp_node)
+ if (1)
{
gimple_stmt_iterator incr_si;
bool insert_after;
@@ -10736,7 +10736,7 @@ vectorizable_induction (loop_vec_info loop_vinfo,
_35 = .SELECT_VL (ivtmp_33, VF);
vect_cst__22 = [vec_duplicate_expr] _35;
_21 = vect_vec_iv_.6_22 + vect_cst__22; */
- gcc_assert (!slp_node);
+ gcc_assert (0);
gimple_seq seq = NULL;
vec_loop_lens *lens = &LOOP_VINFO_LENS (loop_vinfo);
tree len = vect_get_loop_len (loop_vinfo, NULL, lens, 1, vectype, 0, 0);
--
2.43.0