* tree-vect-loop.c (vect_estimate_min_profitable_iters): Dump
authoramker <amker@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 22 Feb 2016 14:38:10 +0000 (14:38 +0000)
committeramker <amker@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 22 Feb 2016 14:38:10 +0000 (14:38 +0000)
min_profitable_estimate, rather than min_profitable_iters.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@233604 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/tree-vect-loop.c

index 6d1a557..83c6a67 100644 (file)
@@ -1,3 +1,8 @@
+2016-02-22  Bin Cheng  <bin.cheng@arm.com>
+
+       * tree-vect-loop.c (vect_estimate_min_profitable_iters): Dump
+       min_profitable_estimate, rather than min_profitable_iters.
+
 2016-02-22  Jakub Jelinek  <jakub@redhat.com>
 
        PR target/69885
index bbef502..8c34669 100644 (file)
@@ -3430,8 +3430,8 @@ vect_estimate_min_profitable_iters (loop_vec_info loop_vinfo,
   min_profitable_estimate = MAX (min_profitable_estimate, min_profitable_iters);
   if (dump_enabled_p ())
     dump_printf_loc (MSG_NOTE, vect_location,
-                     "  Static estimate profitability threshold = %d\n",
-                      min_profitable_iters);
+                    "  Static estimate profitability threshold = %d\n",
+                    min_profitable_estimate);
 
   *ret_min_profitable_estimate = min_profitable_estimate;
 }