This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Small DCE improvement
- From: Mark Mitchell <mark at codesourcery dot com>
- To: Jan Hubicka <jh at suse dot cz>
- Cc: Eric Christopher <echristo at apple dot com>, gcc-patches at gcc dot gnu dot org
- Date: Tue, 23 Jan 2007 11:23:38 -0800
- Subject: Re: Small DCE improvement
- References: <20070121153632.GH19983@kam.mff.cuni.cz> <45794B17-9D1B-47A1-AC27-65A011DF1667@apple.com> <20070122092012.GH10654@kam.mff.cuni.cz>
Jan Hubicka wrote:
> * tree-ssa-dce.c (eliminate_unnecesary_stmts): Remove LHS of call
> statmeent when the destination is dead.
> (perform_tree_ssa_dce): Use TODO_update_ssa_no_phi.
I'm not an expert on tree-ssa, but this certainly looks like a nice
optimization. If nobody objects within 48 hours, and it passes testing,
please check it in.
--
Mark Mitchell
CodeSourcery
mark@codesourcery.com
(650) 331-3385 x713