* passes.def (pass_iv_canon): Move before pass_loop_distribution.
authorBin Cheng <bin.cheng@arm.com>
Wed, 7 Jun 2017 11:31:44 +0000 (11:31 +0000)
committerBin Cheng <amker@gcc.gnu.org>
Wed, 7 Jun 2017 11:31:44 +0000 (11:31 +0000)
From-SVN: r248965

gcc/ChangeLog
gcc/passes.def

index d15ecce..4786148 100644 (file)
@@ -1,5 +1,9 @@
 2017-06-07  Bin Cheng  <bin.cheng@arm.com>
 
+       * passes.def (pass_iv_canon): Move before pass_loop_distribution.
+
+2017-06-07  Bin Cheng  <bin.cheng@arm.com>
+
        * graphds.c (add_edge): Intitialize edge's attached data.
        (foll_in_subgraph, dfs_fst_edge, dfs_next_edge): New function
        pointer parameter.  Call pointed function on each edge during
index 10a18bf..beb350b 100644 (file)
@@ -277,6 +277,7 @@ along with GCC; see the file COPYING3.  If not see
             empty loops.  Remove them now.  */
          NEXT_PASS (pass_cd_dce);
          NEXT_PASS (pass_record_bounds);
+         NEXT_PASS (pass_iv_canon);
          NEXT_PASS (pass_loop_distribution);
          NEXT_PASS (pass_copy_prop);
          NEXT_PASS (pass_graphite);
@@ -286,7 +287,6 @@ along with GCC; see the file COPYING3.  If not see
              NEXT_PASS (pass_copy_prop);
              NEXT_PASS (pass_dce);
          POP_INSERT_PASSES ()
-         NEXT_PASS (pass_iv_canon);
          NEXT_PASS (pass_parallelize_loops, false /* oacc_kernels_p */);
          NEXT_PASS (pass_expand_omp_ssa);
          NEXT_PASS (pass_ch_vect);