diff options
author | tejohnson <tejohnson@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-06-03 18:39:04 +0000 |
---|---|---|
committer | tejohnson <tejohnson@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-06-03 18:39:04 +0000 |
commit | a21425b53befe618f5ae36c4e2232901e9953365 (patch) | |
tree | 97d0686c9d2bd36e7b795f43d0fe5c871b911d12 /gcc/tree-vectorizer.c | |
parent | 79f0505e77ff411df64fbd3ea89a96a1c0b1a969 (diff) | |
download | gcc-a21425b53befe618f5ae36c4e2232901e9953365.tar.gz |
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@199620 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-vectorizer.c')
-rw-r--r-- | gcc/tree-vectorizer.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/tree-vectorizer.c b/gcc/tree-vectorizer.c index 814f96c3017..1ef31eefd1d 100644 --- a/gcc/tree-vectorizer.c +++ b/gcc/tree-vectorizer.c @@ -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"); } } |