Commit 2042a831 by Sharad Singhai Committed by Sharad Singhai

rs6000.c (rs6000_density_test): Use dump_enabled_p instead of dump_kind_p.

2012-10-24  Sharad Singhai  <singhai@google.com>

	* config/rs6000/rs6000.c (rs6000_density_test): Use dump_enabled_p
          instead of dump_kind_p.

From-SVN: r192788
parent dfa32261
2012-10-24 Sharad Singhai <singhai@google.com>
* config/rs6000/rs6000.c (rs6000_density_test): Use dump_enabled_p
instead of dump_kind_p.
2012-10-24 Manuel López-Ibáñez <manu@gcc.gnu.org> 2012-10-24 Manuel López-Ibáñez <manu@gcc.gnu.org>
PR c++/54928 PR c++/54928
...@@ -3547,7 +3547,7 @@ rs6000_density_test (rs6000_cost_data *data) ...@@ -3547,7 +3547,7 @@ rs6000_density_test (rs6000_cost_data *data)
&& vec_cost + not_vec_cost > DENSITY_SIZE_THRESHOLD) && vec_cost + not_vec_cost > DENSITY_SIZE_THRESHOLD)
{ {
data->cost[vect_body] = vec_cost * (100 + DENSITY_PENALTY) / 100; data->cost[vect_body] = vec_cost * (100 + DENSITY_PENALTY) / 100;
if (dump_kind_p (MSG_NOTE)) if (dump_enabled_p ())
dump_printf_loc (MSG_NOTE, vect_location, dump_printf_loc (MSG_NOTE, vect_location,
"density %d%%, cost %d exceeds threshold, penalizing " "density %d%%, cost %d exceeds threshold, penalizing "
"loop body cost by %d%%", density_pct, "loop body cost by %d%%", density_pct,
......
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