This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Conditionally turn off cfg cleanup for PHI-OPT if nothing is done
- From: Diego Novillo <dnovillo at redhat dot com>
- To: Andrew Pinski <pinskia at physics dot uc dot edu>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Fri, 03 Mar 2006 12:54:12 -0500
- Subject: Re: [PATCH] Conditionally turn off cfg cleanup for PHI-OPT if nothing is done
- References: <200603031745.k23HjC40015127@earth.phy.uc.edu>
On 03/03/06 12:45, Andrew Pinski wrote:
> * tree-ssa-phiopt.c (tree_ssa_phiopt): Add cfgchanged variable.
> Set it when one of the replacement functions returned true.
> Return TODO_cleanup_cfg if cfgchanged is true.
> (pass_phiopt) <todo_flags_finish>: Remove TODO_cleanup_cfg.
>
OK.
Patches along these lines are pre-approved if they don't introduce
regressions. I will also ask that before/after timings be provided or
some analysis of the expected benefits.