diff options
Diffstat (limited to 'gcc/tree-vectorizer.cc')
-rw-r--r-- | gcc/tree-vectorizer.cc | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/gcc/tree-vectorizer.cc b/gcc/tree-vectorizer.cc index 066c8a8..d7dc30b 100644 --- a/gcc/tree-vectorizer.cc +++ b/gcc/tree-vectorizer.cc @@ -715,17 +715,14 @@ vec_info::new_stmt_vec_info (gimple *stmt) stmt_vec_info res = XCNEW (class _stmt_vec_info); res->stmt = stmt; - STMT_VINFO_TYPE (res) = undef_vec_info_type; STMT_VINFO_RELEVANT (res) = vect_unused_in_scope; STMT_VINFO_VECTORIZABLE (res) = true; STMT_VINFO_REDUC_TYPE (res) = TREE_CODE_REDUCTION; STMT_VINFO_REDUC_CODE (res) = ERROR_MARK; - STMT_VINFO_REDUC_FN (res) = IFN_LAST; STMT_VINFO_REDUC_IDX (res) = -1; + STMT_VINFO_REDUC_DEF (res) = NULL; STMT_VINFO_SLP_VECT_ONLY (res) = false; STMT_VINFO_SLP_VECT_ONLY_PATTERN (res) = false; - res->reduc_initial_values = vNULL; - res->reduc_scalar_results = vNULL; if (is_a <loop_vec_info> (this) && gimple_code (stmt) == GIMPLE_PHI @@ -734,7 +731,7 @@ vec_info::new_stmt_vec_info (gimple *stmt) else STMT_VINFO_DEF_TYPE (res) = vect_internal_def; - STMT_SLP_TYPE (res) = loop_vect; + STMT_SLP_TYPE (res) = not_vect; /* This is really "uninitialized" until vect_compute_data_ref_alignment. */ res->dr_aux.misalignment = DR_MISALIGNMENT_UNINITIALIZED; @@ -787,8 +784,6 @@ vec_info::free_stmt_vec_info (stmt_vec_info stmt_info) release_ssa_name (lhs); } - stmt_info->reduc_initial_values.release (); - stmt_info->reduc_scalar_results.release (); free (stmt_info); } |