passes.def: Move 2nd VRP pass before phi-only-cprop.
authorRichard Biener <rguenth@gcc.gnu.org>
Fri, 6 Jun 2014 07:29:45 +0000 (07:29 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Fri, 6 Jun 2014 07:29:45 +0000 (07:29 +0000)
2014-06-06  Richard Biener  <rguenther@suse.de>

* passes.def: Move 2nd VRP pass before phi-only-cprop.

From-SVN: r211304

gcc/ChangeLog
gcc/passes.def

index e807a610d78eea74bc593bb281c8227eaeaedc14..e71d68f4fac6f0693c3143434b89be31b004eeaa 100644 (file)
@@ -1,7 +1,12 @@
+2014-06-06  Richard Biener  <rguenther@suse.de>
+
+       * passes.def: Move 2nd VRP pass before phi-only-cprop.
+
 2014-06-06  Christian Bruel  <christian.bruel@st.com>
 
        PR tree-optimization/43934
-       * tree-ssa-loop-im.c (determine_max_movement): Add PHI def constant cost.
+       * tree-ssa-loop-im.c (determine_max_movement): Add PHI def constant
+       cost.
 
 2014-06-06  Richard Sandiford  <rdsandiford@googlemail.com>
 
index 2f889e8890511e66196bcecd4b55eee60a37a9d5..f9e0b2a821c584457e9e5c5e49b8e015f1430de4 100644 (file)
@@ -240,13 +240,13 @@ along with GCC; see the file COPYING3.  If not see
       NEXT_PASS (pass_reassoc);
       NEXT_PASS (pass_strength_reduction);
       NEXT_PASS (pass_dominator);
+      NEXT_PASS (pass_vrp);
       /* The only const/copy propagation opportunities left after
-        DOM should be due to degenerate PHI nodes.  So rather than
+        DOM and VRP should be due to degenerate PHI nodes.  So rather than
         run the full propagators, run a specialized pass which
         only examines PHIs to discover const/copy propagation
         opportunities.  */
       NEXT_PASS (pass_phi_only_cprop);
-      NEXT_PASS (pass_vrp);
       NEXT_PASS (pass_cd_dce);
       NEXT_PASS (pass_tracer);
       NEXT_PASS (pass_dse);