This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH] Change dse, cd_dce to canonical order
- From: Richard Biener <rguenther at suse dot de>
- To: gcc-patches at gcc dot gnu dot org
- Date: Wed, 18 May 2016 09:40:33 +0200 (CEST)
- Subject: [PATCH] Change dse, cd_dce to canonical order
- Authentication-results: sourceware.org; auth=none
I noticed this late last year, now is the proper time to change it.
Bootstrapped and tested on x86_64-unknown-linux-gnu, applied.
Richard.
2016-05-18 Richard Biener <rguenther@suse.de>
* passes.def: Put late dse and cd_dce in canonical order.
Index: gcc/passes.def
===================================================================
--- gcc/passes.def (revision 236357)
+++ gcc/passes.def (working copy)
@@ -315,8 +315,8 @@ along with GCC; see the file COPYING3.
only examines PHIs to discover const/copy propagation
opportunities. */
NEXT_PASS (pass_phi_only_cprop);
- NEXT_PASS (pass_cd_dce);
NEXT_PASS (pass_dse);
+ NEXT_PASS (pass_cd_dce);
NEXT_PASS (pass_forwprop);
NEXT_PASS (pass_phiopt);
NEXT_PASS (pass_fold_builtins);