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

2014-06-06  Richard Biener  <rguenther@suse.de>

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

From-SVN: r211304
This commit is contained in:
Richard Biener 2014-06-06 07:29:45 +00:00
parent 5f23671d3f
commit 28a4a292fc
2 changed files with 8 additions and 3 deletions

View 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>

View 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);