continue;
}
+ if (dump_enabled_p ())
+ dump_printf_loc (MSG_NOTE, vect_location,
+ "Scalar cost for part in loop %d\n", sl);
class vector_costs *scalar_target_cost_data = init_cost (bb_vinfo, true);
do
{
scalar_cost = scalar_target_cost_data->body_cost ();
/* Complete the target-specific vector cost calculation. */
+ if (dump_enabled_p ())
+ dump_printf_loc (MSG_NOTE, vect_location,
+ "Vector cost for part in loop %d\n", vl);
class vector_costs *vect_target_cost_data = init_cost (bb_vinfo, false);
auto_vec<stmt_info_for_cost> tem;
do
free on the scalar side but cost a load on the vector side for
example). */
if (vec_outside_cost + vec_inside_cost > scalar_cost)
- {
- profitable = false;
- break;
- }
+ profitable = false;
}
if (profitable && vi < li_vector_costs.length ())
{