passes.c (init_optimization_passes): Remove pass_call_cdce from its current position...
authorEaswaran Raman <eraman@google.com>
Fri, 15 Jun 2012 17:35:11 +0000 (17:35 +0000)
committerEaswaran Raman <eraman@gcc.gnu.org>
Fri, 15 Jun 2012 17:35:11 +0000 (17:35 +0000)
2012-06-15   Easwaran Raman  <eraman@google.com>

* passes.c (init_optimization_passes): Remove pass_call_cdce
from its current position and insert after pass_dce.

From-SVN: r188675

gcc/ChangeLog
gcc/passes.c

index 6cbd1fae2eb26b4d4b74fbe9259b4a4e8e8a9498..b1b6cb448473bd6e68ec284ca1faae1cf819ad01 100644 (file)
@@ -1,3 +1,8 @@
+2012-06-15   Easwaran Raman  <eraman@google.com>
+
+       * passes.c (init_optimization_passes): Remove pass_call_cdce
+       from its current position and insert after pass_dce.
+
 2012-06-15  Walter Lee  <walt@tilera.com>
 
        * config/tilegx/sync.md (atomic_fetch_<fetchop_name><mode>): Fix typo.
index 3974231562a2259c27d10bca60d4cde146189040..5be7c4208fbd0f0bc8b14e0d9e59ca8d57c41aab 100644 (file)
@@ -1374,7 +1374,6 @@ init_optimization_passes (void)
       NEXT_PASS (pass_complete_unrolli);
       NEXT_PASS (pass_ccp);
       NEXT_PASS (pass_forwprop);
-      NEXT_PASS (pass_call_cdce);
       /* pass_build_alias is a dummy pass that ensures that we
         execute TODO_rebuild_alias at this point.  Re-building
         alias information also rewrites no longer addressed
@@ -1387,6 +1386,7 @@ init_optimization_passes (void)
       NEXT_PASS (pass_merge_phi);
       NEXT_PASS (pass_vrp);
       NEXT_PASS (pass_dce);
+      NEXT_PASS (pass_call_cdce);
       NEXT_PASS (pass_cselim);
       NEXT_PASS (pass_tree_ifcombine);
       NEXT_PASS (pass_phiopt);