From: Richard Biener Date: Fri, 6 Jun 2014 07:29:45 +0000 (+0000) Subject: passes.def: Move 2nd VRP pass before phi-only-cprop. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=28a4a292fc1717544e68ed2f6107b3f0cbe10aed;p=gcc.git passes.def: Move 2nd VRP pass before phi-only-cprop. 2014-06-06 Richard Biener * passes.def: Move 2nd VRP pass before phi-only-cprop. From-SVN: r211304 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index e807a610d78..e71d68f4fac 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,7 +1,12 @@ +2014-06-06 Richard Biener + + * passes.def: Move 2nd VRP pass before phi-only-cprop. + 2014-06-06 Christian Bruel 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 diff --git a/gcc/passes.def b/gcc/passes.def index 2f889e88905..f9e0b2a821c 100644 --- a/gcc/passes.def +++ b/gcc/passes.def @@ -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);