Re: [PATCH] Make EVRP propagate into PHIs and remove dead stmts

2016-10-19 Thread Richard Biener
On Tue, 18 Oct 2016, Richard Biener wrote: > On Tue, 18 Oct 2016, Trevor Saunders wrote: > > > On Tue, Oct 18, 2016 at 02:34:58PM +0200, Richard Biener wrote: > > > > > > The following patch makes EVRP remove stmts that will become dead > > > after propagation. For this to work we have to propa

Re: [PATCH] Make EVRP propagate into PHIs and remove dead stmts

2016-10-18 Thread Richard Biener
On Tue, 18 Oct 2016, Trevor Saunders wrote: > On Tue, Oct 18, 2016 at 02:34:58PM +0200, Richard Biener wrote: > > > > The following patch makes EVRP remove stmts that will become dead > > after propagation. For this to work we have to propagate into PHIs > > (sth we missed as well). > > > > Boo

Re: [PATCH] Make EVRP propagate into PHIs and remove dead stmts

2016-10-18 Thread Trevor Saunders
On Tue, Oct 18, 2016 at 02:34:58PM +0200, Richard Biener wrote: > > The following patch makes EVRP remove stmts that will become dead > after propagation. For this to work we have to propagate into PHIs > (sth we missed as well). > > Bootstrap and regtest running on x86_64-unknown-linux-gnu. >

[PATCH] Make EVRP propagate into PHIs and remove dead stmts

2016-10-18 Thread Richard Biener
The following patch makes EVRP remove stmts that will become dead after propagation. For this to work we have to propagate into PHIs (sth we missed as well). Bootstrap and regtest running on x86_64-unknown-linux-gnu. Richard. 2016-10-18 Richard Biener * tree-vrp.c (evrp_dom_walker: