Re: [PATCH][RFC] Make FRE/PRE apply copy/constant propagation

2014-06-16 Thread Richard Biener
On Sat, 14 Jun 2014, Eric Botcazou wrote: > > 2014-06-13 Richard Biener > > > > * tree-ssa-pre.c (eliminate_dom_walker::before_dom_children): > > Rewrite to propagate the VN result into all uses where > > possible and to remove stmts becoming dead because of that. > > (eliminat

Re: [PATCH][RFC] Make FRE/PRE apply copy/constant propagation

2014-06-14 Thread Eric Botcazou
> 2014-06-13 Richard Biener > > * tree-ssa-pre.c (eliminate_dom_walker::before_dom_children): > Rewrite to propagate the VN result into all uses where > possible and to remove stmts becoming dead because of that. > (eliminate): Generalize stmt removal handling, remove in

Re: [PATCH][RFC] Make FRE/PRE apply copy/constant propagation

2014-06-13 Thread Richard Biener
On Wed, 14 May 2014, Richard Biener wrote: > > This makes FRE/PRE substitute values into all uses instead of leaving > copies and initializations from constants in the IL which requires > a copyprop pass to clean up things (which we usually place directly > after FRE/PRE). > > This should open t

[PATCH][RFC] Make FRE/PRE apply copy/constant propagation

2014-05-14 Thread Richard Biener
This makes FRE/PRE substitute values into all uses instead of leaving copies and initializations from constants in the IL which requires a copyprop pass to clean up things (which we usually place directly after FRE/PRE). This should open the possibility to remove some of the passes, respectively