diff options
-rw-r--r-- | gcc/ChangeLog | 7 | ||||
-rw-r--r-- | gcc/passes.def | 4 |
2 files changed, 8 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index e807a61..e71d68f 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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> diff --git a/gcc/passes.def b/gcc/passes.def index 2f889e8..f9e0b2a 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); |