rs6000.c (rs6000_density_test): Use dump_enabled_p instead of dump_kind_p.
authorSharad Singhai <singhai@google.com>
Wed, 24 Oct 2012 23:09:30 +0000 (23:09 +0000)
committerSharad Singhai <singhai@gcc.gnu.org>
Wed, 24 Oct 2012 23:09:30 +0000 (23:09 +0000)
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

gcc/ChangeLog
gcc/config/rs6000/rs6000.c

index 1052580930e0b016499b20efa720f9cd59ea84a8..efd89a0a485cd538bc0527c04ae697db6c705b78 100644 (file)
@@ -1,3 +1,8 @@
+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>
 
        PR c++/54928
index 02309d5001c7e5b9a58cab79ff23885fd907d98f..0c67411f7fa18044afe71f8f4666547db502757a 100644 (file)
@@ -3547,7 +3547,7 @@ rs6000_density_test (rs6000_cost_data *data)
       && vec_cost + not_vec_cost > DENSITY_SIZE_THRESHOLD)
     {
       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,
                         "density %d%%, cost %d exceeds threshold, penalizing "
                         "loop body cost by %d%%", density_pct,