This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch] passes.c: Run CSE only once after GCSE instead of twiceor more.
- From: Roger Sayle <roger at eyesopen dot com>
- To: Kazu Hirata <kazu at cs dot umass dot edu>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Sat, 12 Feb 2005 18:40:46 -0700 (MST)
- Subject: Re: [patch] passes.c: Run CSE only once after GCSE instead of twiceor more.
On Thu, 10 Feb 2005, Kazu Hirata wrote:
> 2005-02-10 Kazu Hirata <kazu@cs.umass.edu>
>
> * passes.c (rest_of_handle_gcse): Don't run cse_main and
> delete_trivially_dead_insns too many times.
>
This is OK for mainline. I think you've now proved this gives a
significant compile-time improvement for both C/C++ with no measurable
loss of code quality; The "tree-ssa dividend".
Thanks,
Roger
--