dumpfile.c (opt_info_switch_p): Change -fopt-info default to -fopt-info=optimized...
authorTeresa Johnson <tejohnson@google.com>
Mon, 3 Jun 2013 18:39:04 +0000 (18:39 +0000)
committerTeresa Johnson <tejohnson@gcc.gnu.org>
Mon, 3 Jun 2013 18:39:04 +0000 (18:39 +0000)
2013-06-03  Teresa Johnson  <tejohnson@google.com>

* dumpfile.c (opt_info_switch_p): Change -fopt-info
        default to -fopt-info=optimized instead of all.
* doc/invoke.texi: Ditto.
* tree-vectorizer.c (vectorize_loops): Emit loop vectorization
        success under MSG_OPTIMIZED_LOCATIONS, and use dump_printf_loc.
(execute_vect_slp): Emit BB vectorization success under
        MSG_OPTIMIZED_LOCATIONS.
* tree-vect-slp.c (vect_slp_transform_bb): Change
        MSG_OPTIMIZED_LOCATIONS to MSG_NOTE.
* tree-vect-loop.c (vect_transform_loop): Ditto.

* testsuite/gcc.dg/vect/bb-slp-31.c: Update vect dump message.
* testsuite/gcc.dg/vect/bb-slp-14.c: Ditto.
* testsuite/gcc.dg/vect/fast-math-bb-slp-call-1.c: Ditto.
* testsuite/gcc.dg/vect/bb-slp-23.c: Ditto.
* testsuite/gcc.dg/vect/bb-slp-15.c: Ditto.
* testsuite/gcc.dg/vect/fast-math-bb-slp-call-2.c: Ditto.
* testsuite/gcc.dg/vect/bb-slp-24.c: Ditto.
* testsuite/gcc.dg/vect/bb-slp-16.c: Ditto.
* testsuite/gcc.dg/vect/bb-slp-25.c: Ditto.
* testsuite/gcc.dg/vect/bb-slp-pattern-2.c: Ditto.
* testsuite/gcc.dg/vect/bb-slp-17.c: Ditto.
* testsuite/gcc.dg/vect/bb-slp-1.c: Ditto.
* testsuite/gcc.dg/vect/bb-slp-26.c: Ditto.
* testsuite/gcc.dg/vect/bb-slp-18.c: Ditto.
* testsuite/gcc.dg/vect/bb-slp-2.c: Ditto.
* testsuite/gcc.dg/vect/no-tree-reassoc-bb-slp-12.c: Ditto.
* testsuite/gcc.dg/vect/bb-slp-27.c: Ditto.
* testsuite/gcc.dg/vect/bb-slp-19.c: Ditto.
* testsuite/gcc.dg/vect/bb-slp-3.c: Ditto.
* testsuite/gcc.dg/vect/bb-slp-28.c: Ditto.
* testsuite/gcc.dg/vect/bb-slp-4.c: Ditto.
* testsuite/gcc.dg/vect/bb-slp-29.c: Ditto.
* testsuite/gcc.dg/vect/bb-slp-5.c: Ditto.
* testsuite/gcc.dg/vect/bb-slp-6.c: Ditto.
* testsuite/gcc.dg/vect/bb-slp-8a.c: Ditto.
* testsuite/gcc.dg/vect/bb-slp-7.c: Ditto.
* testsuite/gcc.dg/vect/bb-slp-8b.c: Ditto.
* testsuite/gcc.dg/vect/bb-slp-8.c: Ditto.
* testsuite/gcc.dg/vect/bb-slp-9.c: Ditto.
* testsuite/gcc.dg/vect/bb-slp-10.c: Ditto.
* testsuite/gcc.dg/vect/bb-slp-11.c: Ditto.
* testsuite/gcc.dg/vect/bb-slp-20.c: Ditto.
* testsuite/gcc.dg/vect/bb-slp-cond-1.c: Ditto.
* testsuite/gcc.dg/vect/bb-slp-21.c: Ditto.
* testsuite/gcc.dg/vect/bb-slp-30.c: Ditto.
* testsuite/gcc.dg/vect/bb-slp-13.c: Ditto.
* testsuite/gcc.dg/vect/bb-slp-22.c: Ditto.
* testsuite/g++.dg/vect/slp-pr50413.cc: Ditto.
* testsuite/g++.dg/vect/slp-pr56812.cc: Ditto.
* testsuite/g++.dg/vect/slp-pr50819.cc: Ditto.

From-SVN: r199620

47 files changed:
gcc/ChangeLog
gcc/doc/invoke.texi
gcc/dumpfile.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/vect/slp-pr50413.cc
gcc/testsuite/g++.dg/vect/slp-pr50819.cc
gcc/testsuite/g++.dg/vect/slp-pr56812.cc
gcc/testsuite/gcc.dg/vect/bb-slp-1.c
gcc/testsuite/gcc.dg/vect/bb-slp-10.c
gcc/testsuite/gcc.dg/vect/bb-slp-11.c
gcc/testsuite/gcc.dg/vect/bb-slp-13.c
gcc/testsuite/gcc.dg/vect/bb-slp-14.c
gcc/testsuite/gcc.dg/vect/bb-slp-15.c
gcc/testsuite/gcc.dg/vect/bb-slp-16.c
gcc/testsuite/gcc.dg/vect/bb-slp-17.c
gcc/testsuite/gcc.dg/vect/bb-slp-18.c
gcc/testsuite/gcc.dg/vect/bb-slp-19.c
gcc/testsuite/gcc.dg/vect/bb-slp-2.c
gcc/testsuite/gcc.dg/vect/bb-slp-20.c
gcc/testsuite/gcc.dg/vect/bb-slp-21.c
gcc/testsuite/gcc.dg/vect/bb-slp-22.c
gcc/testsuite/gcc.dg/vect/bb-slp-23.c
gcc/testsuite/gcc.dg/vect/bb-slp-24.c
gcc/testsuite/gcc.dg/vect/bb-slp-25.c
gcc/testsuite/gcc.dg/vect/bb-slp-26.c
gcc/testsuite/gcc.dg/vect/bb-slp-27.c
gcc/testsuite/gcc.dg/vect/bb-slp-28.c
gcc/testsuite/gcc.dg/vect/bb-slp-29.c
gcc/testsuite/gcc.dg/vect/bb-slp-3.c
gcc/testsuite/gcc.dg/vect/bb-slp-30.c
gcc/testsuite/gcc.dg/vect/bb-slp-31.c
gcc/testsuite/gcc.dg/vect/bb-slp-4.c
gcc/testsuite/gcc.dg/vect/bb-slp-5.c
gcc/testsuite/gcc.dg/vect/bb-slp-6.c
gcc/testsuite/gcc.dg/vect/bb-slp-7.c
gcc/testsuite/gcc.dg/vect/bb-slp-8.c
gcc/testsuite/gcc.dg/vect/bb-slp-8a.c
gcc/testsuite/gcc.dg/vect/bb-slp-8b.c
gcc/testsuite/gcc.dg/vect/bb-slp-9.c
gcc/testsuite/gcc.dg/vect/bb-slp-cond-1.c
gcc/testsuite/gcc.dg/vect/bb-slp-pattern-2.c
gcc/testsuite/gcc.dg/vect/fast-math-bb-slp-call-1.c
gcc/testsuite/gcc.dg/vect/fast-math-bb-slp-call-2.c
gcc/testsuite/gcc.dg/vect/no-tree-reassoc-bb-slp-12.c
gcc/tree-vect-loop.c
gcc/tree-vect-slp.c
gcc/tree-vectorizer.c

index 0bacab1a27a462a09bb30af47eb2014f097ff392..72a0ff7d662e56aa273b49045c0fe996b07b2326 100644 (file)
@@ -1,3 +1,16 @@
+2013-06-03  Teresa Johnson  <tejohnson@google.com>
+
+       * dumpfile.c (opt_info_switch_p): Change -fopt-info
+       default to -fopt-info=optimized instead of all.
+       * doc/invoke.texi: Ditto.
+       * tree-vectorizer.c (vectorize_loops): Emit loop vectorization
+       success under MSG_OPTIMIZED_LOCATIONS, and use dump_printf_loc.
+       (execute_vect_slp): Emit BB vectorization success under
+       MSG_OPTIMIZED_LOCATIONS.
+       * tree-vect-slp.c (vect_slp_transform_bb): Change
+       MSG_OPTIMIZED_LOCATIONS to MSG_NOTE.
+       * tree-vect-loop.c (vect_transform_loop): Ditto.
+
 2013-06-03  Jason Merrill  <jason@redhat.com>
 
        PR c++/57415
index 06c55fe4808650455bc1c60a5796bd34cadb36b8..66dcfe440e68f65dd2470254c7a310a03f6d3846 100644 (file)
@@ -6172,7 +6172,7 @@ Controls optimization dumps from various optimization passes. If the
 @samp{-@var{options}} form is used, @var{options} is a list of
 @samp{-} separated options to select the dump details and
 optimizations.  If @var{options} is not specified, it defaults to
-@option{all} for details and @option{optall} for optimization
+@option{optimized} for details and @option{optall} for optimization
 groups. If the @var{filename} is not specified, it defaults to
 @file{stderr}. Note that the output @var{filename} will be overwritten
 in case of multiple translation units. If a combined output from
index 7442a27540a37efc5c8fdb31dce60c99f5d0e12a..55ad80451d69be8130ab70bfe21cfd61e6f219f6 100644 (file)
@@ -866,7 +866,7 @@ opt_info_switch_p (const char *arg)
 
   file_seen = xstrdup (filename);
   if (!flags)
-    flags = MSG_ALL;
+    flags = MSG_OPTIMIZED_LOCATIONS;
   if (!optgroup_flags)
     optgroup_flags = OPTGROUP_ALL;
 
index cba0446cd26a22013a8502c732713e5be072a133..54f0fa2fbe214a15e3a0d0fb5f9cd5af3e85446f 100644 (file)
@@ -1,3 +1,46 @@
+2013-06-03  Teresa Johnson  <tejohnson@google.com>
+
+       * gcc.dg/vect/bb-slp-31.c: Update vect dump message.
+       * gcc.dg/vect/bb-slp-14.c: Ditto.
+       * gcc.dg/vect/fast-math-bb-slp-call-1.c: Ditto.
+       * gcc.dg/vect/bb-slp-23.c: Ditto.
+       * gcc.dg/vect/bb-slp-15.c: Ditto.
+       * gcc.dg/vect/fast-math-bb-slp-call-2.c: Ditto.
+       * gcc.dg/vect/bb-slp-24.c: Ditto.
+       * gcc.dg/vect/bb-slp-16.c: Ditto.
+       * gcc.dg/vect/bb-slp-25.c: Ditto.
+       * gcc.dg/vect/bb-slp-pattern-2.c: Ditto.
+       * gcc.dg/vect/bb-slp-17.c: Ditto.
+       * gcc.dg/vect/bb-slp-1.c: Ditto.
+       * gcc.dg/vect/bb-slp-26.c: Ditto.
+       * gcc.dg/vect/bb-slp-18.c: Ditto.
+       * gcc.dg/vect/bb-slp-2.c: Ditto.
+       * gcc.dg/vect/no-tree-reassoc-bb-slp-12.c: Ditto.
+       * gcc.dg/vect/bb-slp-27.c: Ditto.
+       * gcc.dg/vect/bb-slp-19.c: Ditto.
+       * gcc.dg/vect/bb-slp-3.c: Ditto.
+       * gcc.dg/vect/bb-slp-28.c: Ditto.
+       * gcc.dg/vect/bb-slp-4.c: Ditto.
+       * gcc.dg/vect/bb-slp-29.c: Ditto.
+       * gcc.dg/vect/bb-slp-5.c: Ditto.
+       * gcc.dg/vect/bb-slp-6.c: Ditto.
+       * gcc.dg/vect/bb-slp-8a.c: Ditto.
+       * gcc.dg/vect/bb-slp-7.c: Ditto.
+       * gcc.dg/vect/bb-slp-8b.c: Ditto.
+       * gcc.dg/vect/bb-slp-8.c: Ditto.
+       * gcc.dg/vect/bb-slp-9.c: Ditto.
+       * gcc.dg/vect/bb-slp-10.c: Ditto.
+       * gcc.dg/vect/bb-slp-11.c: Ditto.
+       * gcc.dg/vect/bb-slp-20.c: Ditto.
+       * gcc.dg/vect/bb-slp-cond-1.c: Ditto.
+       * gcc.dg/vect/bb-slp-21.c: Ditto.
+       * gcc.dg/vect/bb-slp-30.c: Ditto.
+       * gcc.dg/vect/bb-slp-13.c: Ditto.
+       * gcc.dg/vect/bb-slp-22.c: Ditto.
+       * g++.dg/vect/slp-pr50413.cc: Ditto.
+       * g++.dg/vect/slp-pr56812.cc: Ditto.
+       * g++.dg/vect/slp-pr50819.cc: Ditto.
+
 2013-06-01  Tobias Burnus  <burnus@net-b.de>
 
        PR fortran/57456
index e7bdf1f1c322c28826c6da82132931db62aad08e..c47caf107475573f248043ceac48f2209b36acce 100644 (file)
@@ -160,6 +160,6 @@ void shift(unsigned char t)
   V.bitmap.b96 = t;
 }
 
-/* { dg-final { scan-tree-dump-times "basic block vectorized using SLP" 0 "slp" } } */
+/* { dg-final { scan-tree-dump-times "Vectorized basic-block" 0 "slp" } } */
 /* { dg-final { cleanup-tree-dump "slp" } } */
 
index 402218bc5b798172febe9d7ea51dc0b85b20732e..96f82c302185e4cf4275578f917234c755180ac7 100644 (file)
@@ -49,5 +49,5 @@ const & v2) {
   res = res + s*(v1+v2);
 }
 
-/* { dg-final { scan-tree-dump-times "basic block vectorized using SLP" 2 "slp" } } */
+/* { dg-final { scan-tree-dump-times "Vectorized basic-block" 2 "slp" } } */
 /* { dg-final { cleanup-tree-dump "slp" } } */
index 9b2fcc683c3f8722ee0ed7c66d342b207b63da2a..9570fb31e866a115f5eef5b82e90fb2c04619efd 100644 (file)
@@ -17,5 +17,5 @@ void mydata::Set (float x)
     data[i] = x;\r
 }\r
 \r
-/* { dg-final { scan-tree-dump-times "basic block vectorized using SLP" 1 "slp" } } */\r
+/* { dg-final { scan-tree-dump-times "Vectorized basic-block" 1 "slp" } } */\r
 /* { dg-final { cleanup-tree-dump "slp" } } */\r
index c13ee3b181da8b46a2737079811ede1f9d369cd2..11882ec5d4a3f6b6e13ad2bd405d6192da3b7c95 100644 (file)
@@ -56,6 +56,6 @@ int main (void)
   return 0;
 }
 
-/* { dg-final { scan-tree-dump-times "basic block vectorized using SLP" 1 "slp" } } */
+/* { dg-final { scan-tree-dump-times "Vectorized basic-block" 1 "slp" } } */
 /* { dg-final { cleanup-tree-dump "slp" } } */
   
index f127c7f11effd4cb4fc95c77a89036eae128ad4e..6eb8f5465f866e50c856a71f728bd5f9f952a3e3 100644 (file)
@@ -50,6 +50,6 @@ int main (void)
 }
 
 /* { dg-final { scan-tree-dump-times "unsupported alignment in basic block." 1 "slp" { xfail vect_element_align } } } */
-/* { dg-final { scan-tree-dump-times "basic block vectorized using SLP" 1 "slp" { target vect_element_align } } } */
+/* { dg-final { scan-tree-dump-times "Vectorized basic-block" 1 "slp" { target vect_element_align } } } */
 /* { dg-final { cleanup-tree-dump "slp" } } */
   
index 225d08ec33b2b9ef4f1014c504f7f1541ade7bcc..9844788ea0d29b60a902efd62a50cf394b012cc3 100644 (file)
@@ -48,6 +48,6 @@ int main (void)
   return 0;
 }
 
-/* { dg-final { scan-tree-dump-times "basic block vectorized using SLP" 1 "slp" { target vect64 } } } */
+/* { dg-final { scan-tree-dump-times "Vectorized basic-block" 1 "slp" { target vect64 } } } */
 /* { dg-final { cleanup-tree-dump "slp" } } */
   
index 4e114d5f94ae0ad26b2606b229bea8a8af177eb7..f312ea64fc16d9b948a6d550a3309862336fb356 100644 (file)
@@ -46,6 +46,6 @@ int main (void)
   return 0;
 }
 
-/* { dg-final { scan-tree-dump-times "basic block vectorized using SLP" 1 "slp" { target vect_int_mult } } } */
+/* { dg-final { scan-tree-dump-times "Vectorized basic-block" 1 "slp" { target vect_int_mult } } } */
 /* { dg-final { cleanup-tree-dump "slp" } } */
   
index fc6b457811febfd5a3ccda571598ce3909f67c02..9a36033ca7bdd2e9f7530cfec01ab80edf818ff7 100644 (file)
@@ -47,6 +47,6 @@ int main (void)
   return 0;
 }
 
-/* { dg-final { scan-tree-dump-times "basic block vectorized using SLP" 0 "slp"  } } */
+/* { dg-final { scan-tree-dump-times "Vectorized basic-block" 0 "slp"  } } */
 /* { dg-final { cleanup-tree-dump "slp" } } */
   
index cab46d6092cf9528abedff484f2524eba32b2658..842699ecb0af96d2450f7a9de7eeef5e9b0b3d96 100644 (file)
@@ -51,6 +51,6 @@ int main (void)
   return 0;
 }
 
-/* { dg-final { scan-tree-dump-times "basic block vectorized using SLP" 1 "slp" { target vect_int_mult } } } */
+/* { dg-final { scan-tree-dump-times "Vectorized basic-block" 1 "slp" { target vect_int_mult } } } */
 /* { dg-final { cleanup-tree-dump "slp" } } */
   
index 4390753db4df2ad3a8ff6b7e55bd0ee8c122ba62..609dc7b6a3ea7da07b63a3932807bed672fb4ea2 100644 (file)
@@ -65,6 +65,6 @@ int main (void)
   return 0;
 }
 
-/* { dg-final { scan-tree-dump-times "basic block vectorized using SLP" 1 "slp" } } */
+/* { dg-final { scan-tree-dump-times "Vectorized basic-block" 1 "slp" } } */
 /* { dg-final { cleanup-tree-dump "slp" } } */
   
index a64543f82977f1879715b26c6a6ec117488788a4..5a917b8b3f75220904709913fa73557bf4694675 100644 (file)
@@ -57,6 +57,6 @@ int main (void)
   return 0;
 }
 
-/* { dg-final { scan-tree-dump-times "basic block vectorized using SLP" 1 "slp" { target vect_int_mult } } } */
+/* { dg-final { scan-tree-dump-times "Vectorized basic-block" 1 "slp" { target vect_int_mult } } } */
 /* { dg-final { cleanup-tree-dump "slp" } } */
   
index 7869e32fe3e2bb37b2db6cc6f1e3ed382ddfeb4b..98501ccf6a68caf8109a925da2518cb7aba32c46 100644 (file)
@@ -46,6 +46,6 @@ int main (void)
   return 0;
 }
 
-/* { dg-final { scan-tree-dump-times "basic block vectorized using SLP" 1 "slp" { target vect_int_mult } } } */
+/* { dg-final { scan-tree-dump-times "Vectorized basic-block" 1 "slp" { target vect_int_mult } } } */
 /* { dg-final { cleanup-tree-dump "slp" } } */
   
index a314626f0d624f3e45e073637ded683cd8fa3490..2f726121c949aa9219e55ef66af39e9bee7eb173 100644 (file)
@@ -53,6 +53,6 @@ int main (void)
   return 0;
 }
 
-/* { dg-final { scan-tree-dump-times "basic block vectorized using SLP" 1 "slp"  { xfail *-*-* }  } } */
+/* { dg-final { scan-tree-dump-times "Vectorized basic-block" 1 "slp"  { xfail *-*-* }  } } */
 /* { dg-final { cleanup-tree-dump "slp" } } */
   
index 20a61a08d2df900b67e57c126314feb9fc2a16bb..da228f7c33c07b849963d584fb3ba7dcfd1b26bb 100644 (file)
@@ -53,6 +53,6 @@ int main (void)
   return 0;
 }
 
-/* { dg-final { scan-tree-dump-times "basic block vectorized using SLP" 1 "slp" } } */
+/* { dg-final { scan-tree-dump-times "Vectorized basic-block" 1 "slp" } } */
 /* { dg-final { cleanup-tree-dump "slp" } } */
   
index 9991fe3998590f926361f58de2f7124639e81c26..caaecb9bafb67ec515f8817d5be4f7940c150a95 100644 (file)
@@ -63,7 +63,7 @@ int main (void)
   return 0;
 }
 
-/* { dg-final { scan-tree-dump-times "basic block vectorized using SLP" 1 "slp" { target vect_int_mult } } } */
+/* { dg-final { scan-tree-dump-times "Vectorized basic-block" 1 "slp" { target vect_int_mult } } } */
 /* { dg-final { scan-tree-dump-times "vectorizing stmts using SLP" 2 "slp" { target vect_int_mult } } } */
 /* { dg-final { cleanup-tree-dump "slp" } } */
   
index acd332079cd607cc814fb35cce918220d760323b..eba9d08c95121743b40c0492a6ace69c02f7e6d5 100644 (file)
@@ -63,7 +63,7 @@ int main (void)
   return 0;
 }
 
-/* { dg-final { scan-tree-dump-times "basic block vectorized using SLP" 1 "slp"  } } */
+/* { dg-final { scan-tree-dump-times "Vectorized basic-block" 1 "slp"  } } */
 /* { dg-final { scan-tree-dump-times "vectorizing stmts using SLP" 1 "slp" { target { ! {vect_int_mult } } } } } */
 /* { dg-final { scan-tree-dump-times "vectorizing stmts using SLP" 2 "slp" { target vect_int_mult } } } */
 /* { dg-final { cleanup-tree-dump "slp" } } */
index 2fa2c1b32761b94df0a8a5ca1b53f00a81c51f11..30bc57a6bbb53cee77679939d20a8fc02c0ec990 100644 (file)
@@ -63,7 +63,7 @@ int main (void)
   return 0;
 }
 
-/* { dg-final { scan-tree-dump-times "basic block vectorized using SLP" 1 "slp"  { target { ! {vect_int_mult } } } } } */
-/* { dg-final { scan-tree-dump-times "basic block vectorized using SLP" 2 "slp"  { target vect_int_mult  } } } */
+/* { dg-final { scan-tree-dump-times "Vectorized basic-block" 1 "slp"  { target { ! {vect_int_mult } } } } } */
+/* { dg-final { scan-tree-dump-times "Vectorized basic-block" 2 "slp"  { target vect_int_mult  } } } */
 /* { dg-final { cleanup-tree-dump "slp" } } */
   
index 1c09048ee0767340c6b2dd5b33c209d870ba4f70..a736c385c81d319173e8081333a2b81393aa7eac 100644 (file)
@@ -51,6 +51,6 @@ int main (void)
   return 0;
 }
 
-/* { dg-final { scan-tree-dump-times "basic block vectorized using SLP" 1 "slp" { target vect_int_mult } } } */
+/* { dg-final { scan-tree-dump-times "Vectorized basic-block" 1 "slp" { target vect_int_mult } } } */
 /* { dg-final { cleanup-tree-dump "slp" } } */
   
index cbe1cb3edeaa8cbf6b8aba5561cbb8bf3ea63570..10d8e406647203fc3bcb79d5b1df67714bc15293 100644 (file)
@@ -54,6 +54,6 @@ int main (void)
   return 0;
 }
 
-/* { dg-final { scan-tree-dump-times "basic block vectorized using SLP" 1 "slp" { target vect_element_align } } } */
+/* { dg-final { scan-tree-dump-times "Vectorized basic-block" 1 "slp" { target vect_element_align } } } */
 /* { dg-final { cleanup-tree-dump "slp" } } */
 
index 193ab9d4db3c45ef41d245426a1fcd10080127a4..b92535df00c628650d94c1ea92f3550000f5e02b 100644 (file)
@@ -54,6 +54,6 @@ int main (void)
   return 0;
 }
 
-/* { dg-final { scan-tree-dump-times "basic block vectorized using SLP" 1 "slp" { target vect_element_align } } } */
+/* { dg-final { scan-tree-dump-times "Vectorized basic-block" 1 "slp" { target vect_element_align } } } */
 /* { dg-final { cleanup-tree-dump "slp" } } */
 
index cf8f9587d03d9b6a9cf2c3329c2f499aa34b7da9..f40c12402b61c06df508aa258b6a1eeb194d0a09 100644 (file)
@@ -55,6 +55,6 @@ int main (void)
   return 0;
 }
 
-/* { dg-final { scan-tree-dump-times "basic block vectorized using SLP" 1 "slp" { target vect64 } } } */
+/* { dg-final { scan-tree-dump-times "Vectorized basic-block" 1 "slp" { target vect64 } } } */
 /* { dg-final { cleanup-tree-dump "slp" } } */
 
index 7157ebadddc13af2de30f1bb37ba825740909d0a..e9b386f4921d2af5f4b3771d0d58ec5a8f41ba6c 100644 (file)
@@ -44,6 +44,6 @@ int main (void)
   return 0;
 }
 
-/* { dg-final { scan-tree-dump-times "basic block vectorized using SLP" 1 "slp" { target { vect_int_mult && { vect_unpack && vect_pack_trunc } } } } } */
+/* { dg-final { scan-tree-dump-times "Vectorized basic-block" 1 "slp" { target { vect_int_mult && { vect_unpack && vect_pack_trunc } } } } } */
 /* { dg-final { cleanup-tree-dump "slp" } } */
 
index 996f8f3cad86ea906c1d6fda95ae3f0ba673aa7b..3dc1a0d8a7cda8e550ec28beeb376beddaba1ab4 100644 (file)
@@ -66,6 +66,6 @@ int main (void)
   return 0;
 }
 
-/* { dg-final { scan-tree-dump-times "basic block vectorized using SLP" 1 "slp" { target { vect_int_mult &&  { vect_pack_trunc && vect_unpack } } } } } */
+/* { dg-final { scan-tree-dump-times "Vectorized basic-block" 1 "slp" { target { vect_int_mult &&  { vect_pack_trunc && vect_unpack } } } } } */
 /* { dg-final { cleanup-tree-dump "slp" } } */
 
index e37b96d14d9a51a27c826ffd2ca47d3c1b695343..c2bc391885d534006fc450069bea43df7b5407e4 100644 (file)
@@ -54,6 +54,6 @@ int main (void)
   return 0;
 }
 
-/* { dg-final { scan-tree-dump-times "basic block vectorized using SLP" 1 "slp"  { target { vect_int_mult &&  vect_element_align } } } } */
+/* { dg-final { scan-tree-dump-times "Vectorized basic-block" 1 "slp"  { target { vect_int_mult &&  vect_element_align } } } } */
 /* { dg-final { cleanup-tree-dump "slp" } } */
 
index fee62d7f98f441e8082dc5ef24085dafff95d27c..98cbc5b80ea11e48db7e3e0744dfa264be6be0e3 100644 (file)
@@ -42,6 +42,6 @@ int main (void)
   return 0;
 }
 
-/* { dg-final { scan-tree-dump-times "basic block vectorized using SLP" 1 "slp" } } */
+/* { dg-final { scan-tree-dump-times "Vectorized basic-block" 1 "slp" } } */
 /* { dg-final { cleanup-tree-dump "slp" } } */
   
index 63689e3434ed89abd981042016521b18fe7ea38c..a587780364fa3440994b35cb1217fb6803bd9bcf 100644 (file)
@@ -43,5 +43,5 @@ test1(void)
 
 int main() { test1(); return a[21]; }
 
-/* { dg-final { scan-tree-dump-times "basic block vectorized using SLP" 1 "slp" } } */
+/* { dg-final { scan-tree-dump-times "Vectorized basic-block" 1 "slp" } } */
 /* { dg-final { cleanup-tree-dump "slp" } } */
index 9a3eac62b5233fc07b9f8f05a543958b2070ec15..e2704dc721fe648f22381e6b98eda58c9ed3920d 100644 (file)
@@ -9,4 +9,4 @@ void f(){
   a[1]=1+2*a[1]*a[1];
 }
 
-/* { dg-final { scan-tree-dump "basic block vectorized using SLP" "slp" } } */
+/* { dg-final { scan-tree-dump "Vectorized basic-block" "slp" } } */
index a7632f9832bc6d8bc79549e76a3faa36c7380487..5b983c7e63efb87e636726c908d7952d0d6f047d 100644 (file)
@@ -38,6 +38,6 @@ int main (void)
   return 0;
 }
 
-/* { dg-final { scan-tree-dump-times "basic block vectorized using SLP" 0 "slp" } } */
+/* { dg-final { scan-tree-dump-times "Vectorized basic-block" 0 "slp" } } */
 /* { dg-final { cleanup-tree-dump "slp" } } */
   
index c4a8a881e02f812622628b599453395cdb7e7539..cd1679e981d313799629a43d059613582f68548f 100644 (file)
@@ -47,6 +47,6 @@ int main (void)
   return 0;
 }
 
-/* { dg-final { scan-tree-dump-times "basic block vectorized using SLP" 1 "slp" } } */
+/* { dg-final { scan-tree-dump-times "Vectorized basic-block" 1 "slp" } } */
 /* { dg-final { cleanup-tree-dump "slp" } } */
   
index 176010ae5d934d24612eb8f9565143455891ac81..39d8c04cc9ac819c7434b7272be89009750c516f 100644 (file)
@@ -45,6 +45,6 @@ int main (void)
   return 0;
 }
 
-/* { dg-final { scan-tree-dump-times "basic block vectorized using SLP" 1 "slp" { target vect_int_mult } } } */
+/* { dg-final { scan-tree-dump-times "Vectorized basic-block" 1 "slp" { target vect_int_mult } } } */
 /* { dg-final { cleanup-tree-dump "slp" } } */
   
index 4f82122111ab3a2c740bd009f314dbc33676850f..c0ca017d0d84e82abe6007e554d68ae38bb1f7e7 100644 (file)
@@ -46,6 +46,6 @@ int main (void)
   return 0;
 }
 
-/* { dg-final { scan-tree-dump-times "basic block vectorized using SLP" 0 "slp" } } */
+/* { dg-final { scan-tree-dump-times "Vectorized basic-block" 0 "slp" } } */
 /* { dg-final { cleanup-tree-dump "slp" } } */
   
index b1203f4dbba695a9200bcf8379dfe2edff6a945d..1cb3ddd65e61a8ddac91d3d2c4f3354bd750dfd4 100644 (file)
@@ -48,6 +48,6 @@ int main (void)
   return 0;
 }
 
-/* { dg-final { scan-tree-dump-times "basic block vectorized using SLP" 1 "slp"  { target vect_hw_misalign } } } */
+/* { dg-final { scan-tree-dump-times "Vectorized basic-block" 1 "slp"  { target vect_hw_misalign } } } */
 /* { dg-final { cleanup-tree-dump "slp" } } */
   
index 2251275d4fbe72260880c55c7ab12928d0d28201..9db6747985eac1aa9be23a59532cd815b6a2c106 100644 (file)
@@ -47,6 +47,6 @@ int main (void)
   return 0;
 }
 
-/* { dg-final { scan-tree-dump-times "basic block vectorized using SLP" 0 "slp" } } */
+/* { dg-final { scan-tree-dump-times "Vectorized basic-block" 0 "slp" } } */
 /* { dg-final { cleanup-tree-dump "slp" } } */
   
index 62a691e1bafa45f346d233edd7ee786272d0b39e..dc6353999f366334629f5fc0caa489eea3c6e19f 100644 (file)
@@ -49,6 +49,6 @@ int main (void)
   return 0;
 }
 
-/* { dg-final { scan-tree-dump-times "basic block vectorized using SLP" 1 "slp"  { target vect_hw_misalign } } } */
+/* { dg-final { scan-tree-dump-times "Vectorized basic-block" 1 "slp"  { target vect_hw_misalign } } } */
 /* { dg-final { cleanup-tree-dump "slp" } } */
   
index 5535dee064198c3b13d472c15476b48f0a097c1e..3b950897249ba5223aee7610b7af468b6f089b7d 100644 (file)
@@ -46,6 +46,6 @@ int main (void)
   return 0;
 }
 
-/* { dg-final { scan-tree-dump-times "basic block vectorized using SLP" 1 "slp"  { xfail  vect_no_align } } } */
+/* { dg-final { scan-tree-dump-times "Vectorized basic-block" 1 "slp"  { xfail  vect_no_align } } } */
 /* { dg-final { cleanup-tree-dump "slp" } } */
   
index ae833e53dc0b998eb96c5b1cc8b65983fef8ba61..38c18a71fc7694d7a0e1f08090e40f7f4c048c42 100644 (file)
@@ -41,6 +41,6 @@ int main ()
   return 0;
 }
 
-/* { dg-final { scan-tree-dump-times "basic block vectorized using SLP" 1 "slp" { target vect_element_align } } } */
+/* { dg-final { scan-tree-dump-times "Vectorized basic-block" 1 "slp" { target vect_element_align } } } */
 /* { dg-final { cleanup-tree-dump "slp" } } */
 
index 30fa487cbf6a6303673901e2c4cf4d0c67cb4003..0d4d54fe0c2ad3360af4498248fc9fbb35f55543 100644 (file)
@@ -48,5 +48,5 @@ int main ()
   return 0;
 }
 
-/* { dg-final { scan-tree-dump-times "basic block vectorized using SLP" 1 "slp" { target { vect_element_align && vect_pack_trunc } } } } */
+/* { dg-final { scan-tree-dump-times "Vectorized basic-block" 1 "slp" { target { vect_element_align && vect_pack_trunc } } } } */
 /* { dg-final { cleanup-tree-dump "slp" } } */
index 7b76b440e1ba5ffbd6c06943447af028b2b3f1b6..d842658c679d59b06a1b8946d76f1a6ce568ae53 100644 (file)
@@ -45,5 +45,5 @@ main ()
   return main1 ();
 }
 
-/* { dg-final { scan-tree-dump-times "basic block vectorized using SLP" 1 "slp" { target { vect_call_copysignf && vect_call_sqrtf } } } } */
+/* { dg-final { scan-tree-dump-times "Vectorized basic-block" 1 "slp" { target { vect_call_copysignf && vect_call_sqrtf } } } } */
 /* { dg-final { cleanup-tree-dump "slp" } } */
index bf19fcd159452194e056003a17ec87e402520bc3..d6fb6a2b6f9a46b7fe3a36b8633f9db7a5e3f9e0 100644 (file)
@@ -63,5 +63,5 @@ main ()
   return main1 ();
 }
 
-/* { dg-final { scan-tree-dump-times "basic block vectorized using SLP" 2 "slp" { target vect_call_lrint } } } */
+/* { dg-final { scan-tree-dump-times "Vectorized basic-block" 2 "slp" { target vect_call_lrint } } } */
 /* { dg-final { cleanup-tree-dump "slp" } } */
index 349bf8b30fec239013991d8fe65dcecb8c89db6e..b4154835a1151a677377966c6b521819afce2998 100644 (file)
@@ -47,6 +47,6 @@ int main (void)
   return 0;
 }
 
-/* { dg-final { scan-tree-dump-times "basic block vectorized using SLP" 1 "slp" { target vect_int_mult } } } */
+/* { dg-final { scan-tree-dump-times "Vectorized basic-block" 1 "slp" { target vect_int_mult } } } */
 /* { dg-final { cleanup-tree-dump "slp" } } */
   
index d3281e4e51b97d4bb1b157c61ef0b87fbdb90851..3b10b1989b498516ed41bdad4b900efbc74a8a18 100644 (file)
@@ -5801,7 +5801,7 @@ vect_transform_loop (loop_vec_info loop_vinfo)
 
   if (dump_enabled_p ())
     {
-      dump_printf_loc (MSG_OPTIMIZED_LOCATIONS, vect_location,
+      dump_printf_loc (MSG_NOTE, vect_location,
                       "LOOP VECTORIZED\n");
       if (loop->inner)
        dump_printf_loc (MSG_NOTE, vect_location,
index 2877dd8ae49bcb27958836cebb6519cca73068a1..ea8c202d187a6377876a84cee395cc1ff65a1747 100644 (file)
@@ -3182,7 +3182,7 @@ vect_slp_transform_bb (basic_block bb)
     }
 
   if (dump_enabled_p ())
-    dump_printf_loc (MSG_OPTIMIZED_LOCATIONS, vect_location,
+    dump_printf_loc (MSG_NOTE, vect_location,
                     "BASIC BLOCK VECTORIZED\n");
 
   destroy_bb_vec_info (bb_vinfo);
index 814f96c30171e5c81131cf5284d514e36e52efcf..1ef31eefd1d169745fc3ae66be4706fc310ef2ec 100644 (file)
@@ -118,8 +118,8 @@ vectorize_loops (void)
 
         if (LOCATION_LOCUS (vect_location) != UNKNOWN_LOC
            && dump_enabled_p ())
-          dump_printf (MSG_NOTE, "\n\nVectorizing loop at %s:%d\n",
-                       LOC_FILE (vect_location), LOC_LINE (vect_location));
+          dump_printf_loc (MSG_OPTIMIZED_LOCATIONS, vect_location,
+                           "Vectorized loop\n");
        vect_transform_loop (loop_vinfo);
        num_vectorized_loops++;
       }
@@ -179,8 +179,8 @@ execute_vect_slp (void)
         {
           vect_slp_transform_bb (bb);
           if (dump_enabled_p ())
-            dump_printf_loc (MSG_NOTE, vect_location,
-                            "basic block vectorized using SLP\n");
+            dump_printf_loc (MSG_OPTIMIZED_LOCATIONS, vect_location,
+                            "Vectorized basic-block\n");
         }
     }