This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch] Predictive commoning
- From: "Richard Guenther" <richard dot guenther at gmail dot com>
- To: "Zdenek Dvorak" <rakdver at atrey dot karlin dot mff dot cuni dot cz>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Thu, 18 Jan 2007 15:30:27 +0100
- Subject: Re: [patch] Predictive commoning
- References: <20070118141604.GA25298@atrey.karlin.mff.cuni.cz>
On 1/18/07, Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> wrote:
* passes.c (init_optimization_passes): Add cleanups after PRE.
Add predictive commoning to loop optimizer passes.
Index: passes.c
===================================================================
*** passes.c (revision 120837)
--- passes.c (working copy)
*************** init_optimization_passes (void)
*** 581,586 ****
--- 581,588 ----
NEXT_PASS (pass_pre);
NEXT_PASS (pass_may_alias);
NEXT_PASS (pass_sink_code);
+ NEXT_PASS (pass_dominator);
+ NEXT_PASS (pass_dce);
NEXT_PASS (pass_tree_loop);
NEXT_PASS (pass_cse_reciprocals);
NEXT_PASS (pass_reassoc);
uh - another DOM pass? What happens if you omit this hunk completely?
Richard.