tree-vect-slp.c (vect_slp_bb): Move opening of vect_slp_analyze_bb dump-scope ...
authorRichard Biener <rguenther@suse.de>
Tue, 6 Nov 2018 12:19:22 +0000 (12:19 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Tue, 6 Nov 2018 12:19:22 +0000 (12:19 +0000)
2018-11-06  Richard Biener  <rguenther@suse.de>

* tree-vect-slp.c (vect_slp_bb): Move opening of vect_slp_analyze_bb
dump-scope ...
(vect_slp_analyze_bb_1): ... here to avoid hiding optimized locations.

From-SVN: r265840

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

index d3835d1..a047c8d 100644 (file)
@@ -1,3 +1,9 @@
+2018-11-06  Richard Biener  <rguenther@suse.de>
+
+       * tree-vect-slp.c (vect_slp_bb): Move opening of vect_slp_analyze_bb
+       dump-scope ...
+       (vect_slp_analyze_bb_1): ... here to avoid hiding optimized locations.
+
 2018-11-06  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
 
        * gcc/config/msp430/msp430.h (REG_CLASS_CONTENTS): Add R0 to
index e7e5d25..f802b00 100644 (file)
@@ -2779,6 +2779,8 @@ vect_slp_analyze_bb_1 (gimple_stmt_iterator region_begin,
                       vec<data_reference_p> datarefs, int n_stmts,
                       bool &fatal, vec_info_shared *shared)
 {
+  DUMP_VECT_SCOPE ("vect_slp_analyze_bb");
+
   bb_vec_info bb_vinfo;
   slp_instance instance;
   int i;
@@ -2949,8 +2951,6 @@ vect_slp_bb (basic_block bb)
   bool any_vectorized = false;
   auto_vector_sizes vector_sizes;
 
-  DUMP_VECT_SCOPE ("vect_slp_analyze_bb");
-
   /* Autodetect first vector size we try.  */
   current_vector_size = 0;
   targetm.vectorize.autovectorize_vector_sizes (&vector_sizes);