dumpfile.c (opt_info_switch_p): Change -fopt-info default to -fopt-info=optimized instead of all.

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
This commit is contained in:
Teresa Johnson 2013-06-03 18:39:04 +00:00 committed by Teresa Johnson
parent ec3af349a6
commit 5d318fd4a7
47 changed files with 105 additions and 49 deletions

View 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

View 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

View 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;

View 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

View 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" } } */

View 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" } } */

View File

@ -17,5 +17,5 @@ void mydata::Set (float x)
data[i] = x;
}
/* { 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" } } */

View 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" } } */

View 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" } } */

View 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" } } */

View 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" } } */

View 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" } } */

View 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" } } */

View 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" } } */

View 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" } } */

View 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" } } */

View 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" } } */

View 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" } } */

View 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" } } */

View 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" } } */

View 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" } } */

View 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" } } */

View 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" } } */

View 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" } } */

View 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" } } */

View 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" } } */

View 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" } } */

View 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" } } */

View 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" } } */

View 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" } } */

View 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" } } */

View 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" } } */

View 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" } } */

View 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" } } */

View 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" } } */

View 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" } } */

View 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" } } */

View 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" } } */

View 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" } } */

View 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" } } */

View 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" } } */

View 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" } } */

View 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" } } */

View 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" } } */

View 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,

View 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);

View 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");
}
}