Commit 15bdf5be by Alan Hayward Committed by Alan Hayward

tree-vect-data-refs.c (vect_analyze_data_refs): Remove debug newline.

2016-06-08  Alan Hayward  <alan.hayward@arm.com>

gcc/
	* tree-vect-data-refs.c (vect_analyze_data_refs): Remove debug newline.
	* tree-vect-loop-manip.c (slpeel_make_loop_iterate_ntimes): likewise.
	(vect_can_advance_ivs_p): likewise.
	(vect_update_ivs_after_vectorizer): likewise.
	* tree-vect-loop.c (vect_determine_vectorization_factor): likewise.
	(vect_analyze_scalar_cycles_1): likewise.
	(vect_analyze_loop_operations): likewise.
	(report_vect_op): likewise.
	(vect_is_slp_reduction): likewise.
	(vect_is_simple_reduction): likewise.
	(get_initial_def_for_induction): likewise.
	(vect_transform_loop): likewise.
	* tree-vect-patterns.c (vect_recog_dot_prod_pattern): likewise.
	(vect_recog_sad_pattern): likewise.
	(vect_recog_widen_sum_pattern): likewise.
	(vect_recog_widening_pattern): likewise.
	(vect_recog_divmod_pattern): likewise.
	* tree-vect-slp.c (vect-build-slp_tree_1): likewise.
	(vect_analyze_slp_instance): likewise.
	(vect_transform_slp_perm_load): likewise.
	(vect_schedule_slp_instance): likewise.

From-SVN: r237198
parent ce0607bb
2016-06-08 Alan Hayward <alan.hayward@arm.com>
* tree-vect-data-refs.c (vect_analyze_data_refs): Remove debug newline.
* tree-vect-loop-manip.c (slpeel_make_loop_iterate_ntimes): likewise.
(vect_can_advance_ivs_p): likewise.
(vect_update_ivs_after_vectorizer): likewise.
* tree-vect-loop.c (vect_determine_vectorization_factor): likewise.
(vect_analyze_scalar_cycles_1): likewise.
(vect_analyze_loop_operations): likewise.
(report_vect_op): likewise.
(vect_is_slp_reduction): likewise.
(vect_is_simple_reduction): likewise.
(get_initial_def_for_induction): likewise.
(vect_transform_loop): likewise.
* tree-vect-patterns.c (vect_recog_dot_prod_pattern): likewise.
(vect_recog_sad_pattern): likewise.
(vect_recog_widen_sum_pattern): likewise.
(vect_recog_widening_pattern): likewise.
(vect_recog_divmod_pattern): likewise.
* tree-vect-slp.c (vect-build-slp_tree_1): likewise.
(vect_analyze_slp_instance): likewise.
(vect_transform_slp_perm_load): likewise.
(vect_schedule_slp_instance): likewise.
2016-06-07 Jan Hubicka <hubicka@ucw.cz> 2016-06-07 Jan Hubicka <hubicka@ucw.cz>
* predict.c (predict_iv_comparison): Mention that heuristics is broken. * predict.c (predict_iv_comparison): Mention that heuristics is broken.
......
...@@ -3557,7 +3557,6 @@ again: ...@@ -3557,7 +3557,6 @@ again:
"not vectorized: data ref analysis " "not vectorized: data ref analysis "
"failed "); "failed ");
dump_gimple_stmt (MSG_MISSED_OPTIMIZATION, TDF_SLIM, stmt, 0); dump_gimple_stmt (MSG_MISSED_OPTIMIZATION, TDF_SLIM, stmt, 0);
dump_printf (MSG_MISSED_OPTIMIZATION, "\n");
} }
if (is_a <bb_vec_info> (vinfo)) if (is_a <bb_vec_info> (vinfo))
...@@ -3589,7 +3588,6 @@ again: ...@@ -3589,7 +3588,6 @@ again:
dump_printf_loc (MSG_MISSED_OPTIMIZATION, vect_location, dump_printf_loc (MSG_MISSED_OPTIMIZATION, vect_location,
"not vectorized: volatile type "); "not vectorized: volatile type ");
dump_gimple_stmt (MSG_MISSED_OPTIMIZATION, TDF_SLIM, stmt, 0); dump_gimple_stmt (MSG_MISSED_OPTIMIZATION, TDF_SLIM, stmt, 0);
dump_printf (MSG_MISSED_OPTIMIZATION, "\n");
} }
if (is_a <bb_vec_info> (vinfo)) if (is_a <bb_vec_info> (vinfo))
...@@ -3606,7 +3604,6 @@ again: ...@@ -3606,7 +3604,6 @@ again:
"not vectorized: statement can throw an " "not vectorized: statement can throw an "
"exception "); "exception ");
dump_gimple_stmt (MSG_MISSED_OPTIMIZATION, TDF_SLIM, stmt, 0); dump_gimple_stmt (MSG_MISSED_OPTIMIZATION, TDF_SLIM, stmt, 0);
dump_printf (MSG_MISSED_OPTIMIZATION, "\n");
} }
if (is_a <bb_vec_info> (vinfo)) if (is_a <bb_vec_info> (vinfo))
...@@ -3626,7 +3623,6 @@ again: ...@@ -3626,7 +3623,6 @@ again:
"not vectorized: statement is bitfield " "not vectorized: statement is bitfield "
"access "); "access ");
dump_gimple_stmt (MSG_MISSED_OPTIMIZATION, TDF_SLIM, stmt, 0); dump_gimple_stmt (MSG_MISSED_OPTIMIZATION, TDF_SLIM, stmt, 0);
dump_printf (MSG_MISSED_OPTIMIZATION, "\n");
} }
if (is_a <bb_vec_info> (vinfo)) if (is_a <bb_vec_info> (vinfo))
...@@ -3651,7 +3647,6 @@ again: ...@@ -3651,7 +3647,6 @@ again:
dump_printf_loc (MSG_MISSED_OPTIMIZATION, vect_location, dump_printf_loc (MSG_MISSED_OPTIMIZATION, vect_location,
"not vectorized: dr in a call "); "not vectorized: dr in a call ");
dump_gimple_stmt (MSG_MISSED_OPTIMIZATION, TDF_SLIM, stmt, 0); dump_gimple_stmt (MSG_MISSED_OPTIMIZATION, TDF_SLIM, stmt, 0);
dump_printf (MSG_MISSED_OPTIMIZATION, "\n");
} }
if (is_a <bb_vec_info> (vinfo)) if (is_a <bb_vec_info> (vinfo))
...@@ -3798,7 +3793,6 @@ again: ...@@ -3798,7 +3793,6 @@ again:
"not vectorized: more than one data ref " "not vectorized: more than one data ref "
"in stmt: "); "in stmt: ");
dump_gimple_stmt (MSG_MISSED_OPTIMIZATION, TDF_SLIM, stmt, 0); dump_gimple_stmt (MSG_MISSED_OPTIMIZATION, TDF_SLIM, stmt, 0);
dump_printf (MSG_MISSED_OPTIMIZATION, "\n");
} }
if (is_a <bb_vec_info> (vinfo)) if (is_a <bb_vec_info> (vinfo))
...@@ -3887,7 +3881,6 @@ again: ...@@ -3887,7 +3881,6 @@ again:
"not vectorized: not suitable for scatter " "not vectorized: not suitable for scatter "
"store "); "store ");
dump_gimple_stmt (MSG_MISSED_OPTIMIZATION, TDF_SLIM, stmt, 0); dump_gimple_stmt (MSG_MISSED_OPTIMIZATION, TDF_SLIM, stmt, 0);
dump_printf (MSG_MISSED_OPTIMIZATION, "\n");
} }
return false; return false;
} }
...@@ -3908,7 +3901,6 @@ again: ...@@ -3908,7 +3901,6 @@ again:
"not vectorized: not suitable for strided " "not vectorized: not suitable for strided "
"load "); "load ");
dump_gimple_stmt (MSG_MISSED_OPTIMIZATION, TDF_SLIM, stmt, 0); dump_gimple_stmt (MSG_MISSED_OPTIMIZATION, TDF_SLIM, stmt, 0);
dump_printf (MSG_MISSED_OPTIMIZATION, "\n");
} }
return false; return false;
} }
......
...@@ -710,7 +710,6 @@ slpeel_make_loop_iterate_ntimes (struct loop *loop, tree niters) ...@@ -710,7 +710,6 @@ slpeel_make_loop_iterate_ntimes (struct loop *loop, tree niters)
dump_printf (MSG_NOTE, "\nloop at %s:%d: ", LOCATION_FILE (loop_loc), dump_printf (MSG_NOTE, "\nloop at %s:%d: ", LOCATION_FILE (loop_loc),
LOCATION_LINE (loop_loc)); LOCATION_LINE (loop_loc));
dump_gimple_stmt (MSG_NOTE, TDF_SLIM, cond_stmt, 0); dump_gimple_stmt (MSG_NOTE, TDF_SLIM, cond_stmt, 0);
dump_printf (MSG_NOTE, "\n");
} }
loop->nb_iterations = niters; loop->nb_iterations = niters;
} }
...@@ -1557,7 +1556,6 @@ vect_can_advance_ivs_p (loop_vec_info loop_vinfo) ...@@ -1557,7 +1556,6 @@ vect_can_advance_ivs_p (loop_vec_info loop_vinfo)
{ {
dump_printf_loc (MSG_NOTE, vect_location, "Analyze phi: "); dump_printf_loc (MSG_NOTE, vect_location, "Analyze phi: ");
dump_gimple_stmt (MSG_NOTE, TDF_SLIM, phi, 0); dump_gimple_stmt (MSG_NOTE, TDF_SLIM, phi, 0);
dump_printf (MSG_NOTE, "\n");
} }
/* Skip virtual phi's. The data dependences that are associated with /* Skip virtual phi's. The data dependences that are associated with
...@@ -1678,7 +1676,6 @@ vect_update_ivs_after_vectorizer (loop_vec_info loop_vinfo, tree niters, ...@@ -1678,7 +1676,6 @@ vect_update_ivs_after_vectorizer (loop_vec_info loop_vinfo, tree niters,
dump_printf_loc (MSG_NOTE, vect_location, dump_printf_loc (MSG_NOTE, vect_location,
"vect_update_ivs_after_vectorizer: phi: "); "vect_update_ivs_after_vectorizer: phi: ");
dump_gimple_stmt (MSG_NOTE, TDF_SLIM, phi, 0); dump_gimple_stmt (MSG_NOTE, TDF_SLIM, phi, 0);
dump_printf (MSG_NOTE, "\n");
} }
/* Skip virtual phi's. */ /* Skip virtual phi's. */
......
...@@ -212,7 +212,6 @@ vect_determine_vectorization_factor (loop_vec_info loop_vinfo) ...@@ -212,7 +212,6 @@ vect_determine_vectorization_factor (loop_vec_info loop_vinfo)
{ {
dump_printf_loc (MSG_NOTE, vect_location, "==> examining phi: "); dump_printf_loc (MSG_NOTE, vect_location, "==> examining phi: ");
dump_gimple_stmt (MSG_NOTE, TDF_SLIM, phi, 0); dump_gimple_stmt (MSG_NOTE, TDF_SLIM, phi, 0);
dump_printf (MSG_NOTE, "\n");
} }
gcc_assert (stmt_info); gcc_assert (stmt_info);
...@@ -282,7 +281,6 @@ vect_determine_vectorization_factor (loop_vec_info loop_vinfo) ...@@ -282,7 +281,6 @@ vect_determine_vectorization_factor (loop_vec_info loop_vinfo)
dump_printf_loc (MSG_NOTE, vect_location, dump_printf_loc (MSG_NOTE, vect_location,
"==> examining statement: "); "==> examining statement: ");
dump_gimple_stmt (MSG_NOTE, TDF_SLIM, stmt, 0); dump_gimple_stmt (MSG_NOTE, TDF_SLIM, stmt, 0);
dump_printf (MSG_NOTE, "\n");
} }
gcc_assert (stmt_info); gcc_assert (stmt_info);
...@@ -304,7 +302,6 @@ vect_determine_vectorization_factor (loop_vec_info loop_vinfo) ...@@ -304,7 +302,6 @@ vect_determine_vectorization_factor (loop_vec_info loop_vinfo)
dump_printf_loc (MSG_NOTE, vect_location, dump_printf_loc (MSG_NOTE, vect_location,
"==> examining pattern statement: "); "==> examining pattern statement: ");
dump_gimple_stmt (MSG_NOTE, TDF_SLIM, stmt, 0); dump_gimple_stmt (MSG_NOTE, TDF_SLIM, stmt, 0);
dump_printf (MSG_NOTE, "\n");
} }
} }
else else
...@@ -355,7 +352,6 @@ vect_determine_vectorization_factor (loop_vec_info loop_vinfo) ...@@ -355,7 +352,6 @@ vect_determine_vectorization_factor (loop_vec_info loop_vinfo)
"==> examining pattern def stmt: "); "==> examining pattern def stmt: ");
dump_gimple_stmt (MSG_NOTE, TDF_SLIM, dump_gimple_stmt (MSG_NOTE, TDF_SLIM,
pattern_def_stmt, 0); pattern_def_stmt, 0);
dump_printf (MSG_NOTE, "\n");
} }
stmt = pattern_def_stmt; stmt = pattern_def_stmt;
...@@ -396,7 +392,6 @@ vect_determine_vectorization_factor (loop_vec_info loop_vinfo) ...@@ -396,7 +392,6 @@ vect_determine_vectorization_factor (loop_vec_info loop_vinfo)
"not vectorized: irregular stmt."); "not vectorized: irregular stmt.");
dump_gimple_stmt (MSG_MISSED_OPTIMIZATION, TDF_SLIM, stmt, dump_gimple_stmt (MSG_MISSED_OPTIMIZATION, TDF_SLIM, stmt,
0); 0);
dump_printf (MSG_MISSED_OPTIMIZATION, "\n");
} }
return false; return false;
} }
...@@ -408,7 +403,6 @@ vect_determine_vectorization_factor (loop_vec_info loop_vinfo) ...@@ -408,7 +403,6 @@ vect_determine_vectorization_factor (loop_vec_info loop_vinfo)
dump_printf_loc (MSG_MISSED_OPTIMIZATION, vect_location, dump_printf_loc (MSG_MISSED_OPTIMIZATION, vect_location,
"not vectorized: vector stmt in loop:"); "not vectorized: vector stmt in loop:");
dump_gimple_stmt (MSG_MISSED_OPTIMIZATION, TDF_SLIM, stmt, 0); dump_gimple_stmt (MSG_MISSED_OPTIMIZATION, TDF_SLIM, stmt, 0);
dump_printf (MSG_MISSED_OPTIMIZATION, "\n");
} }
return false; return false;
} }
...@@ -625,7 +619,6 @@ vect_determine_vectorization_factor (loop_vec_info loop_vinfo) ...@@ -625,7 +619,6 @@ vect_determine_vectorization_factor (loop_vec_info loop_vinfo)
"for statement, "); "for statement, ");
dump_gimple_stmt (MSG_MISSED_OPTIMIZATION, TDF_SLIM, stmt, dump_gimple_stmt (MSG_MISSED_OPTIMIZATION, TDF_SLIM, stmt,
0); 0);
dump_printf (MSG_MISSED_OPTIMIZATION, "\n");
} }
return false; return false;
} }
...@@ -695,7 +688,6 @@ vect_determine_vectorization_factor (loop_vec_info loop_vinfo) ...@@ -695,7 +688,6 @@ vect_determine_vectorization_factor (loop_vec_info loop_vinfo)
"for statement, "); "for statement, ");
dump_gimple_stmt (MSG_MISSED_OPTIMIZATION, TDF_SLIM, stmt, dump_gimple_stmt (MSG_MISSED_OPTIMIZATION, TDF_SLIM, stmt,
0); 0);
dump_printf (MSG_MISSED_OPTIMIZATION, "\n");
} }
return false; return false;
} }
...@@ -799,7 +791,6 @@ vect_analyze_scalar_cycles_1 (loop_vec_info loop_vinfo, struct loop *loop) ...@@ -799,7 +791,6 @@ vect_analyze_scalar_cycles_1 (loop_vec_info loop_vinfo, struct loop *loop)
{ {
dump_printf_loc (MSG_NOTE, vect_location, "Analyze phi: "); dump_printf_loc (MSG_NOTE, vect_location, "Analyze phi: ");
dump_gimple_stmt (MSG_NOTE, TDF_SLIM, phi, 0); dump_gimple_stmt (MSG_NOTE, TDF_SLIM, phi, 0);
dump_printf (MSG_NOTE, "\n");
} }
/* Skip virtual phi's. The data dependences that are associated with /* Skip virtual phi's. The data dependences that are associated with
...@@ -859,7 +850,6 @@ vect_analyze_scalar_cycles_1 (loop_vec_info loop_vinfo, struct loop *loop) ...@@ -859,7 +850,6 @@ vect_analyze_scalar_cycles_1 (loop_vec_info loop_vinfo, struct loop *loop)
{ {
dump_printf_loc (MSG_NOTE, vect_location, "Analyze phi: "); dump_printf_loc (MSG_NOTE, vect_location, "Analyze phi: ");
dump_gimple_stmt (MSG_NOTE, TDF_SLIM, phi, 0); dump_gimple_stmt (MSG_NOTE, TDF_SLIM, phi, 0);
dump_printf (MSG_NOTE, "\n");
} }
gcc_assert (!virtual_operand_p (def) gcc_assert (!virtual_operand_p (def)
...@@ -1623,7 +1613,6 @@ vect_analyze_loop_operations (loop_vec_info loop_vinfo) ...@@ -1623,7 +1613,6 @@ vect_analyze_loop_operations (loop_vec_info loop_vinfo)
{ {
dump_printf_loc (MSG_NOTE, vect_location, "examining phi: "); dump_printf_loc (MSG_NOTE, vect_location, "examining phi: ");
dump_gimple_stmt (MSG_NOTE, TDF_SLIM, phi, 0); dump_gimple_stmt (MSG_NOTE, TDF_SLIM, phi, 0);
dump_printf (MSG_NOTE, "\n");
} }
if (virtual_operand_p (gimple_phi_result (phi))) if (virtual_operand_p (gimple_phi_result (phi)))
continue; continue;
...@@ -1705,7 +1694,6 @@ vect_analyze_loop_operations (loop_vec_info loop_vinfo) ...@@ -1705,7 +1694,6 @@ vect_analyze_loop_operations (loop_vec_info loop_vinfo)
"not vectorized: relevant phi not " "not vectorized: relevant phi not "
"supported: "); "supported: ");
dump_gimple_stmt (MSG_MISSED_OPTIMIZATION, TDF_SLIM, phi, 0); dump_gimple_stmt (MSG_MISSED_OPTIMIZATION, TDF_SLIM, phi, 0);
dump_printf (MSG_MISSED_OPTIMIZATION, "\n");
} }
return false; return false;
} }
...@@ -2337,7 +2325,6 @@ report_vect_op (int msg_type, gimple *stmt, const char *msg) ...@@ -2337,7 +2325,6 @@ report_vect_op (int msg_type, gimple *stmt, const char *msg)
{ {
dump_printf_loc (msg_type, vect_location, "%s", msg); dump_printf_loc (msg_type, vect_location, "%s", msg);
dump_gimple_stmt (msg_type, TDF_SLIM, stmt, 0); dump_gimple_stmt (msg_type, TDF_SLIM, stmt, 0);
dump_printf (msg_type, "\n");
} }
...@@ -2508,7 +2495,6 @@ vect_is_slp_reduction (loop_vec_info loop_info, gimple *phi, ...@@ -2508,7 +2495,6 @@ vect_is_slp_reduction (loop_vec_info loop_info, gimple *phi,
{ {
dump_printf_loc (MSG_NOTE, vect_location, "swapping oprnds: "); dump_printf_loc (MSG_NOTE, vect_location, "swapping oprnds: ");
dump_gimple_stmt (MSG_NOTE, TDF_SLIM, next_stmt, 0); dump_gimple_stmt (MSG_NOTE, TDF_SLIM, next_stmt, 0);
dump_printf (MSG_NOTE, "\n");
} }
swap_ssa_operands (next_stmt, swap_ssa_operands (next_stmt,
...@@ -2667,10 +2653,7 @@ vect_is_simple_reduction (loop_vec_info loop_info, gimple *phi, ...@@ -2667,10 +2653,7 @@ vect_is_simple_reduction (loop_vec_info loop_info, gimple *phi,
if (!is_gimple_assign (def_stmt) && gimple_code (def_stmt) != GIMPLE_PHI) if (!is_gimple_assign (def_stmt) && gimple_code (def_stmt) != GIMPLE_PHI)
{ {
if (dump_enabled_p ()) if (dump_enabled_p ())
{ dump_gimple_stmt (MSG_NOTE, TDF_SLIM, def_stmt, 0);
dump_gimple_stmt (MSG_NOTE, TDF_SLIM, def_stmt, 0);
dump_printf (MSG_NOTE, "\n");
}
return NULL; return NULL;
} }
...@@ -3978,7 +3961,6 @@ get_initial_def_for_induction (gimple *iv_phi) ...@@ -3978,7 +3961,6 @@ get_initial_def_for_induction (gimple *iv_phi)
dump_printf_loc (MSG_NOTE, vect_location, dump_printf_loc (MSG_NOTE, vect_location,
"vector of inductions after inner-loop:"); "vector of inductions after inner-loop:");
dump_gimple_stmt (MSG_NOTE, TDF_SLIM, new_stmt, 0); dump_gimple_stmt (MSG_NOTE, TDF_SLIM, new_stmt, 0);
dump_printf (MSG_NOTE, "\n");
} }
} }
} }
...@@ -3989,10 +3971,8 @@ get_initial_def_for_induction (gimple *iv_phi) ...@@ -3989,10 +3971,8 @@ get_initial_def_for_induction (gimple *iv_phi)
dump_printf_loc (MSG_NOTE, vect_location, dump_printf_loc (MSG_NOTE, vect_location,
"transform induction: created def-use cycle: "); "transform induction: created def-use cycle: ");
dump_gimple_stmt (MSG_NOTE, TDF_SLIM, induction_phi, 0); dump_gimple_stmt (MSG_NOTE, TDF_SLIM, induction_phi, 0);
dump_printf (MSG_NOTE, "\n");
dump_gimple_stmt (MSG_NOTE, TDF_SLIM, dump_gimple_stmt (MSG_NOTE, TDF_SLIM,
SSA_NAME_DEF_STMT (vec_def), 0); SSA_NAME_DEF_STMT (vec_def), 0);
dump_printf (MSG_NOTE, "\n");
} }
STMT_VINFO_VEC_STMT (phi_info) = induction_phi; STMT_VINFO_VEC_STMT (phi_info) = induction_phi;
...@@ -4414,9 +4394,7 @@ vect_create_epilog_for_reduction (vec<tree> vect_defs, gimple *stmt, ...@@ -4414,9 +4394,7 @@ vect_create_epilog_for_reduction (vec<tree> vect_defs, gimple *stmt,
dump_printf_loc (MSG_NOTE, vect_location, dump_printf_loc (MSG_NOTE, vect_location,
"transform reduction: created def-use cycle: "); "transform reduction: created def-use cycle: ");
dump_gimple_stmt (MSG_NOTE, TDF_SLIM, phi, 0); dump_gimple_stmt (MSG_NOTE, TDF_SLIM, phi, 0);
dump_printf (MSG_NOTE, "\n");
dump_gimple_stmt (MSG_NOTE, TDF_SLIM, SSA_NAME_DEF_STMT (def), 0); dump_gimple_stmt (MSG_NOTE, TDF_SLIM, SSA_NAME_DEF_STMT (def), 0);
dump_printf (MSG_NOTE, "\n");
} }
} }
} }
...@@ -5166,7 +5144,6 @@ vect_finalize_reduction: ...@@ -5166,7 +5144,6 @@ vect_finalize_reduction:
dump_printf_loc (MSG_NOTE, vect_location, dump_printf_loc (MSG_NOTE, vect_location,
"created double reduction phi node: "); "created double reduction phi node: ");
dump_gimple_stmt (MSG_NOTE, TDF_SLIM, vect_phi, 0); dump_gimple_stmt (MSG_NOTE, TDF_SLIM, vect_phi, 0);
dump_printf (MSG_NOTE, "\n");
} }
vect_phi_res = PHI_RESULT (vect_phi); vect_phi_res = PHI_RESULT (vect_phi);
...@@ -6719,7 +6696,6 @@ vect_transform_loop (loop_vec_info loop_vinfo) ...@@ -6719,7 +6696,6 @@ vect_transform_loop (loop_vec_info loop_vinfo)
dump_printf_loc (MSG_NOTE, vect_location, dump_printf_loc (MSG_NOTE, vect_location,
"------>vectorizing phi: "); "------>vectorizing phi: ");
dump_gimple_stmt (MSG_NOTE, TDF_SLIM, phi, 0); dump_gimple_stmt (MSG_NOTE, TDF_SLIM, phi, 0);
dump_printf (MSG_NOTE, "\n");
} }
stmt_info = vinfo_for_stmt (phi); stmt_info = vinfo_for_stmt (phi);
if (!stmt_info) if (!stmt_info)
...@@ -6772,7 +6748,6 @@ vect_transform_loop (loop_vec_info loop_vinfo) ...@@ -6772,7 +6748,6 @@ vect_transform_loop (loop_vec_info loop_vinfo)
dump_printf_loc (MSG_NOTE, vect_location, dump_printf_loc (MSG_NOTE, vect_location,
"------>vectorizing statement: "); "------>vectorizing statement: ");
dump_gimple_stmt (MSG_NOTE, TDF_SLIM, stmt, 0); dump_gimple_stmt (MSG_NOTE, TDF_SLIM, stmt, 0);
dump_printf (MSG_NOTE, "\n");
} }
stmt_info = vinfo_for_stmt (stmt); stmt_info = vinfo_for_stmt (stmt);
...@@ -6847,7 +6822,6 @@ vect_transform_loop (loop_vec_info loop_vinfo) ...@@ -6847,7 +6822,6 @@ vect_transform_loop (loop_vec_info loop_vinfo)
"stmt: "); "stmt: ");
dump_gimple_stmt (MSG_NOTE, TDF_SLIM, dump_gimple_stmt (MSG_NOTE, TDF_SLIM,
pattern_def_stmt, 0); pattern_def_stmt, 0);
dump_printf (MSG_NOTE, "\n");
} }
stmt = pattern_def_stmt; stmt = pattern_def_stmt;
......
...@@ -431,7 +431,6 @@ vect_recog_dot_prod_pattern (vec<gimple *> *stmts, tree *type_in, ...@@ -431,7 +431,6 @@ vect_recog_dot_prod_pattern (vec<gimple *> *stmts, tree *type_in,
dump_printf_loc (MSG_NOTE, vect_location, dump_printf_loc (MSG_NOTE, vect_location,
"vect_recog_dot_prod_pattern: detected: "); "vect_recog_dot_prod_pattern: detected: ");
dump_gimple_stmt (MSG_NOTE, TDF_SLIM, pattern_stmt, 0); dump_gimple_stmt (MSG_NOTE, TDF_SLIM, pattern_stmt, 0);
dump_printf (MSG_NOTE, "\n");
} }
return pattern_stmt; return pattern_stmt;
...@@ -667,7 +666,6 @@ vect_recog_sad_pattern (vec<gimple *> *stmts, tree *type_in, ...@@ -667,7 +666,6 @@ vect_recog_sad_pattern (vec<gimple *> *stmts, tree *type_in,
dump_printf_loc (MSG_NOTE, vect_location, dump_printf_loc (MSG_NOTE, vect_location,
"vect_recog_sad_pattern: detected: "); "vect_recog_sad_pattern: detected: ");
dump_gimple_stmt (MSG_NOTE, TDF_SLIM, pattern_stmt, 0); dump_gimple_stmt (MSG_NOTE, TDF_SLIM, pattern_stmt, 0);
dump_printf (MSG_NOTE, "\n");
} }
return pattern_stmt; return pattern_stmt;
...@@ -1210,7 +1208,6 @@ vect_recog_widen_sum_pattern (vec<gimple *> *stmts, tree *type_in, ...@@ -1210,7 +1208,6 @@ vect_recog_widen_sum_pattern (vec<gimple *> *stmts, tree *type_in,
dump_printf_loc (MSG_NOTE, vect_location, dump_printf_loc (MSG_NOTE, vect_location,
"vect_recog_widen_sum_pattern: detected: "); "vect_recog_widen_sum_pattern: detected: ");
dump_gimple_stmt (MSG_NOTE, TDF_SLIM, pattern_stmt, 0); dump_gimple_stmt (MSG_NOTE, TDF_SLIM, pattern_stmt, 0);
dump_printf (MSG_NOTE, "\n");
} }
return pattern_stmt; return pattern_stmt;
...@@ -1510,7 +1507,6 @@ vect_recog_over_widening_pattern (vec<gimple *> *stmts, ...@@ -1510,7 +1507,6 @@ vect_recog_over_widening_pattern (vec<gimple *> *stmts,
dump_printf_loc (MSG_NOTE, vect_location, dump_printf_loc (MSG_NOTE, vect_location,
"created pattern stmt: "); "created pattern stmt: ");
dump_gimple_stmt (MSG_NOTE, TDF_SLIM, pattern_stmt, 0); dump_gimple_stmt (MSG_NOTE, TDF_SLIM, pattern_stmt, 0);
dump_printf (MSG_NOTE, "\n");
} }
type = gimple_expr_type (stmt); type = gimple_expr_type (stmt);
...@@ -1578,7 +1574,6 @@ vect_recog_over_widening_pattern (vec<gimple *> *stmts, ...@@ -1578,7 +1574,6 @@ vect_recog_over_widening_pattern (vec<gimple *> *stmts,
dump_printf_loc (MSG_NOTE, vect_location, dump_printf_loc (MSG_NOTE, vect_location,
"vect_recog_over_widening_pattern: detected: "); "vect_recog_over_widening_pattern: detected: ");
dump_gimple_stmt (MSG_NOTE, TDF_SLIM, pattern_stmt, 0); dump_gimple_stmt (MSG_NOTE, TDF_SLIM, pattern_stmt, 0);
dump_printf (MSG_NOTE, "\n");
} }
return pattern_stmt; return pattern_stmt;
...@@ -2717,7 +2712,6 @@ vect_recog_divmod_pattern (vec<gimple *> *stmts, ...@@ -2717,7 +2712,6 @@ vect_recog_divmod_pattern (vec<gimple *> *stmts,
dump_printf_loc (MSG_NOTE, vect_location, dump_printf_loc (MSG_NOTE, vect_location,
"vect_recog_divmod_pattern: detected: "); "vect_recog_divmod_pattern: detected: ");
dump_gimple_stmt (MSG_NOTE, TDF_SLIM, pattern_stmt, 0); dump_gimple_stmt (MSG_NOTE, TDF_SLIM, pattern_stmt, 0);
dump_printf (MSG_NOTE, "\n");
} }
stmts->safe_push (last_stmt); stmts->safe_push (last_stmt);
......
...@@ -498,7 +498,6 @@ vect_build_slp_tree_1 (vec_info *vinfo, ...@@ -498,7 +498,6 @@ vect_build_slp_tree_1 (vec_info *vinfo,
dump_printf_loc (MSG_MISSED_OPTIMIZATION, vect_location, dump_printf_loc (MSG_MISSED_OPTIMIZATION, vect_location,
"Build SLP failed: unvectorizable statement "); "Build SLP failed: unvectorizable statement ");
dump_gimple_stmt (MSG_MISSED_OPTIMIZATION, TDF_SLIM, stmt, 0); dump_gimple_stmt (MSG_MISSED_OPTIMIZATION, TDF_SLIM, stmt, 0);
dump_printf (MSG_MISSED_OPTIMIZATION, "\n");
} }
/* Fatal mismatch. */ /* Fatal mismatch. */
matches[0] = false; matches[0] = false;
...@@ -514,7 +513,6 @@ vect_build_slp_tree_1 (vec_info *vinfo, ...@@ -514,7 +513,6 @@ vect_build_slp_tree_1 (vec_info *vinfo,
"Build SLP failed: not GIMPLE_ASSIGN nor " "Build SLP failed: not GIMPLE_ASSIGN nor "
"GIMPLE_CALL "); "GIMPLE_CALL ");
dump_gimple_stmt (MSG_MISSED_OPTIMIZATION, TDF_SLIM, stmt, 0); dump_gimple_stmt (MSG_MISSED_OPTIMIZATION, TDF_SLIM, stmt, 0);
dump_printf (MSG_MISSED_OPTIMIZATION, "\n");
} }
/* Fatal mismatch. */ /* Fatal mismatch. */
matches[0] = false; matches[0] = false;
...@@ -570,7 +568,6 @@ vect_build_slp_tree_1 (vec_info *vinfo, ...@@ -570,7 +568,6 @@ vect_build_slp_tree_1 (vec_info *vinfo,
"Build SLP failed: unsupported call type "); "Build SLP failed: unsupported call type ");
dump_gimple_stmt (MSG_MISSED_OPTIMIZATION, TDF_SLIM, dump_gimple_stmt (MSG_MISSED_OPTIMIZATION, TDF_SLIM,
call_stmt, 0); call_stmt, 0);
dump_printf (MSG_MISSED_OPTIMIZATION, "\n");
} }
/* Fatal mismatch. */ /* Fatal mismatch. */
matches[0] = false; matches[0] = false;
...@@ -686,7 +683,6 @@ vect_build_slp_tree_1 (vec_info *vinfo, ...@@ -686,7 +683,6 @@ vect_build_slp_tree_1 (vec_info *vinfo,
"Build SLP failed: different shift " "Build SLP failed: different shift "
"arguments in "); "arguments in ");
dump_gimple_stmt (MSG_MISSED_OPTIMIZATION, TDF_SLIM, stmt, 0); dump_gimple_stmt (MSG_MISSED_OPTIMIZATION, TDF_SLIM, stmt, 0);
dump_printf (MSG_MISSED_OPTIMIZATION, "\n");
} }
/* Mismatch. */ /* Mismatch. */
continue; continue;
...@@ -707,7 +703,6 @@ vect_build_slp_tree_1 (vec_info *vinfo, ...@@ -707,7 +703,6 @@ vect_build_slp_tree_1 (vec_info *vinfo,
"Build SLP failed: different calls in "); "Build SLP failed: different calls in ");
dump_gimple_stmt (MSG_MISSED_OPTIMIZATION, TDF_SLIM, dump_gimple_stmt (MSG_MISSED_OPTIMIZATION, TDF_SLIM,
stmt, 0); stmt, 0);
dump_printf (MSG_MISSED_OPTIMIZATION, "\n");
} }
/* Mismatch. */ /* Mismatch. */
continue; continue;
...@@ -741,7 +736,6 @@ vect_build_slp_tree_1 (vec_info *vinfo, ...@@ -741,7 +736,6 @@ vect_build_slp_tree_1 (vec_info *vinfo,
"interleaving chains in one node "); "interleaving chains in one node ");
dump_gimple_stmt (MSG_MISSED_OPTIMIZATION, TDF_SLIM, dump_gimple_stmt (MSG_MISSED_OPTIMIZATION, TDF_SLIM,
stmt, 0); stmt, 0);
dump_printf (MSG_MISSED_OPTIMIZATION, "\n");
} }
/* Mismatch. */ /* Mismatch. */
continue; continue;
...@@ -761,7 +755,6 @@ vect_build_slp_tree_1 (vec_info *vinfo, ...@@ -761,7 +755,6 @@ vect_build_slp_tree_1 (vec_info *vinfo,
dump_printf_loc (MSG_MISSED_OPTIMIZATION, vect_location, dump_printf_loc (MSG_MISSED_OPTIMIZATION, vect_location,
"Build SLP failed: not grouped load "); "Build SLP failed: not grouped load ");
dump_gimple_stmt (MSG_MISSED_OPTIMIZATION, TDF_SLIM, stmt, 0); dump_gimple_stmt (MSG_MISSED_OPTIMIZATION, TDF_SLIM, stmt, 0);
dump_printf (MSG_MISSED_OPTIMIZATION, "\n");
} }
/* FORNOW: Not grouped loads are not supported. */ /* FORNOW: Not grouped loads are not supported. */
...@@ -783,7 +776,6 @@ vect_build_slp_tree_1 (vec_info *vinfo, ...@@ -783,7 +776,6 @@ vect_build_slp_tree_1 (vec_info *vinfo,
"Build SLP failed: operation"); "Build SLP failed: operation");
dump_printf (MSG_MISSED_OPTIMIZATION, " unsupported "); dump_printf (MSG_MISSED_OPTIMIZATION, " unsupported ");
dump_gimple_stmt (MSG_MISSED_OPTIMIZATION, TDF_SLIM, stmt, 0); dump_gimple_stmt (MSG_MISSED_OPTIMIZATION, TDF_SLIM, stmt, 0);
dump_printf (MSG_MISSED_OPTIMIZATION, "\n");
} }
/* Fatal mismatch. */ /* Fatal mismatch. */
matches[0] = false; matches[0] = false;
...@@ -805,7 +797,6 @@ vect_build_slp_tree_1 (vec_info *vinfo, ...@@ -805,7 +797,6 @@ vect_build_slp_tree_1 (vec_info *vinfo,
" operation"); " operation");
dump_gimple_stmt (MSG_MISSED_OPTIMIZATION, TDF_SLIM, dump_gimple_stmt (MSG_MISSED_OPTIMIZATION, TDF_SLIM,
stmt, 0); stmt, 0);
dump_printf (MSG_MISSED_OPTIMIZATION, "\n");
} }
/* Mismatch. */ /* Mismatch. */
continue; continue;
...@@ -1876,7 +1867,6 @@ vect_analyze_slp_instance (vec_info *vinfo, ...@@ -1876,7 +1867,6 @@ vect_analyze_slp_instance (vec_info *vinfo,
"permutation "); "permutation ");
dump_gimple_stmt (MSG_MISSED_OPTIMIZATION, dump_gimple_stmt (MSG_MISSED_OPTIMIZATION,
TDF_SLIM, stmt, 0); TDF_SLIM, stmt, 0);
dump_printf (MSG_MISSED_OPTIMIZATION, "\n");
} }
vect_free_slp_instance (new_instance); vect_free_slp_instance (new_instance);
return false; return false;
...@@ -3446,7 +3436,6 @@ vect_transform_slp_perm_load (slp_tree node, vec<tree> dr_chain, ...@@ -3446,7 +3436,6 @@ vect_transform_slp_perm_load (slp_tree node, vec<tree> dr_chain,
"least three vectors "); "least three vectors ");
dump_gimple_stmt (MSG_MISSED_OPTIMIZATION, TDF_SLIM, dump_gimple_stmt (MSG_MISSED_OPTIMIZATION, TDF_SLIM,
stmt, 0); stmt, 0);
dump_printf (MSG_MISSED_OPTIMIZATION, "\n");
} }
return false; return false;
} }
...@@ -3567,7 +3556,6 @@ vect_schedule_slp_instance (slp_tree node, slp_instance instance, ...@@ -3567,7 +3556,6 @@ vect_schedule_slp_instance (slp_tree node, slp_instance instance,
dump_printf_loc (MSG_NOTE,vect_location, dump_printf_loc (MSG_NOTE,vect_location,
"------>vectorizing SLP node starting from: "); "------>vectorizing SLP node starting from: ");
dump_gimple_stmt (MSG_NOTE, TDF_SLIM, stmt, 0); dump_gimple_stmt (MSG_NOTE, TDF_SLIM, stmt, 0);
dump_printf (MSG_NOTE, "\n");
} }
/* Vectorized stmts go before the last scalar stmt which is where /* Vectorized stmts go before the last scalar stmt which is where
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment