aboutsummaryrefslogtreecommitdiff
path: root/gcc/passes.def
diff options
context:
space:
mode:
authorAlexandre Oliva <aoliva@redhat.com>2015-06-10 00:37:39 +0000
committerAlexandre Oliva <aoliva@gcc.gnu.org>2015-06-10 00:37:39 +0000
commit0f9f9784ad1bb59e89f03e5cb00ebc22f500c059 (patch)
tree44bd2d64a442165a5d4162e8caf3157b8f5557a6 /gcc/passes.def
parenta79b6a3044aa97f8ba6b491ee1796f318c68285a (diff)
downloadgcc-0f9f9784ad1bb59e89f03e5cb00ebc22f500c059.zip
gcc-0f9f9784ad1bb59e89f03e5cb00ebc22f500c059.tar.gz
gcc-0f9f9784ad1bb59e89f03e5cb00ebc22f500c059.tar.bz2
Revert "[PR64164] Drop copyrename, use coalescible partition as base when optimizing."
This reverts commit c66acc7cedd89bfd22124caec44b8427c9082dac. Conflicts: gcc/ChangeLog gcc/testsuite/ChangeLog From-SVN: r224310
Diffstat (limited to 'gcc/passes.def')
-rw-r--r--gcc/passes.def5
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/passes.def b/gcc/passes.def
index 230e089..4690e23 100644
--- a/gcc/passes.def
+++ b/gcc/passes.def
@@ -77,6 +77,7 @@ along with GCC; see the file COPYING3. If not see
NEXT_PASS (pass_all_early_optimizations);
PUSH_INSERT_PASSES_WITHIN (pass_all_early_optimizations)
NEXT_PASS (pass_remove_cgraph_callee_edges);
+ NEXT_PASS (pass_rename_ssa_copies);
NEXT_PASS (pass_object_sizes);
NEXT_PASS (pass_ccp);
/* After CCP we rewrite no longer addressed locals into SSA
@@ -154,6 +155,7 @@ along with GCC; see the file COPYING3. If not see
/* Initial scalar cleanups before alias computation.
They ensure memory accesses are not indirect wherever possible. */
NEXT_PASS (pass_strip_predict_hints);
+ NEXT_PASS (pass_rename_ssa_copies);
NEXT_PASS (pass_ccp);
/* After CCP we rewrite no longer addressed locals into SSA
form if possible. */
@@ -181,6 +183,7 @@ along with GCC; see the file COPYING3. If not see
NEXT_PASS (pass_ch);
NEXT_PASS (pass_lower_complex);
NEXT_PASS (pass_sra);
+ NEXT_PASS (pass_rename_ssa_copies);
/* The dom pass will also resolve all __builtin_constant_p calls
that are still there to 0. This has to be done after some
propagations have already run, but before some more dead code
@@ -288,6 +291,7 @@ along with GCC; see the file COPYING3. If not see
NEXT_PASS (pass_fold_builtins);
NEXT_PASS (pass_optimize_widening_mul);
NEXT_PASS (pass_tail_calls);
+ NEXT_PASS (pass_rename_ssa_copies);
/* FIXME: If DCE is not run before checking for uninitialized uses,
we may get false warnings (e.g., testsuite/gcc.dg/uninit-5.c).
However, this also causes us to misdiagnose cases that should be
@@ -322,6 +326,7 @@ along with GCC; see the file COPYING3. If not see
NEXT_PASS (pass_dce);
NEXT_PASS (pass_asan);
NEXT_PASS (pass_tsan);
+ NEXT_PASS (pass_rename_ssa_copies);
/* ??? We do want some kind of loop invariant motion, but we possibly
need to adjust LIM to be more friendly towards preserving accurate
debug information here. */