---
 gcc/tree-vect-stmts.cc | 44 +++++++-----------------------------------
 1 file changed, 7 insertions(+), 37 deletions(-)

diff --git a/gcc/tree-vect-stmts.cc b/gcc/tree-vect-stmts.cc
index 10d05a87830..b38d78500aa 100644
--- a/gcc/tree-vect-stmts.cc
+++ b/gcc/tree-vect-stmts.cc
@@ -12564,7 +12564,7 @@ vectorizable_early_exit (vec_info *vinfo, stmt_vec_info 
stmt_info,
   /* Early break gcond kind SLP trees can be root only and have no children,
      for instance in the case where the argument is an external.  If that's
      the case there is no operand to analyse use of.  */
-  if ((!1 || !SLP_TREE_CHILDREN (slp_node).is_empty ())
+  if (!SLP_TREE_CHILDREN (slp_node).is_empty ()
       && !vect_is_simple_use (vinfo, stmt_info, slp_node, 0, &op0, &slp_op0, 
&dt0,
                              &vectype))
     {
@@ -12579,25 +12579,15 @@ vectorizable_early_exit (vec_info *vinfo, 
stmt_vec_info stmt_info,
      want to use the type of the direct children which since the gcond is root
      will be the current node, rather than a child node as vect_is_simple_use
      assumes.  */
-  if (1)
-    vectype = SLP_TREE_VECTYPE (slp_node);
-
+  vectype = SLP_TREE_VECTYPE (slp_node);
   if (!vectype)
     return false;
 
   machine_mode mode = TYPE_MODE (vectype);
   int ncopies, vec_num;
 
-  if (1)
-    {
-      ncopies = 1;
-      vec_num = SLP_TREE_NUMBER_OF_VEC_STMTS (slp_node);
-    }
-  else
-    {
-      ncopies = vect_get_num_copies (loop_vinfo, vectype);
-      vec_num = 1;
-    }
+  ncopies = 1;
+  vec_num = SLP_TREE_NUMBER_OF_VEC_STMTS (slp_node);
 
   vec_loop_masks *masks = &LOOP_VINFO_MASKS (loop_vinfo);
   vec_loop_lens *lens = &LOOP_VINFO_LENS (loop_vinfo);
@@ -12683,28 +12673,13 @@ vectorizable_early_exit (vec_info *vinfo, 
stmt_vec_info stmt_info,
      vectorized.  It's not very clean to do this here, But the masking code 
below is
      complex and this keeps it all in one place to ease fixes and backports.  
Once we
      drop the non-SLP loop vect or split vectorizable_* this can be 
simplified.  */
-  if (!1)
-    {
-      if (!vectorizable_comparison_1 (vinfo, vectype, stmt_info, code, gsi,
-                                     vec_stmt, slp_node, cost_vec))
-       gcc_unreachable ();
-    }
 
   gimple *stmt = STMT_VINFO_STMT (stmt_info);
   basic_block cond_bb = gimple_bb (stmt);
   gimple_stmt_iterator  cond_gsi = gsi_last_bb (cond_bb);
 
   auto_vec<tree> stmts;
-
-  if (1)
-    stmts.safe_splice (SLP_TREE_VEC_DEFS (slp_node));
-  else
-    {
-      auto vec_stmts = STMT_VINFO_VEC_STMTS (stmt_info);
-      stmts.reserve_exact (vec_stmts.length ());
-      for (auto stmt : vec_stmts)
-       stmts.quick_push (gimple_assign_lhs (stmt));
-    }
+  stmts.safe_splice (SLP_TREE_VEC_DEFS (slp_node));
 
   /* If we're comparing against a previous forall we need to negate the 
resullts
      before we do the final comparison or reduction.  */
@@ -12793,13 +12768,8 @@ vectorizable_early_exit (vec_info *vinfo, 
stmt_vec_info stmt_info,
   gimple_cond_set_condition (cond_stmt, NE_EXPR, new_temp, cst);
   update_stmt (orig_stmt);
 
-  if (1)
-    SLP_TREE_VEC_DEFS (slp_node).truncate (0);
-   else
-    STMT_VINFO_VEC_STMTS (stmt_info).truncate (0);
-
-  if (!1)
-    *vec_stmt = orig_stmt;
+  /* ??? */
+  SLP_TREE_VEC_DEFS (slp_node).truncate (0);
 
   return true;
 }
-- 
2.43.0

Reply via email to