This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Small DCE improvement


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]