Re: [PATCH] Make CCP effectively remove UNDEFINED defs

2015-11-04 Thread Richard Biener
On Wed, 4 Nov 2015, Marc Glisse wrote: > On Wed, 4 Nov 2015, Richard Biener wrote: > > > On Wed, 4 Nov 2015, Richard Biener wrote: > > > > > On Wed, 4 Nov 2015, Marc Glisse wrote: > > > > > > > On Wed, 4 Nov 2015, Richard Biener wrote: > > > > > > > > > The following patch makes sure that CCP

Re: [PATCH] Make CCP effectively remove UNDEFINED defs

2015-11-04 Thread Marc Glisse
On Wed, 4 Nov 2015, Richard Biener wrote: On Wed, 4 Nov 2015, Richard Biener wrote: On Wed, 4 Nov 2015, Marc Glisse wrote: On Wed, 4 Nov 2015, Richard Biener wrote: The following patch makes sure that CCP when it computes a lattice value to UNDEFINED ends up replacing uses with default def

Re: [PATCH] Make CCP effectively remove UNDEFINED defs

2015-11-04 Thread Richard Biener
On Wed, 4 Nov 2015, Richard Biener wrote: > On Wed, 4 Nov 2015, Marc Glisse wrote: > > > On Wed, 4 Nov 2015, Richard Biener wrote: > > > > > The following patch makes sure that CCP when it computes a lattice > > > value to UNDEFINED ends up replacing uses with default defs (and thus > > > remove

Re: [PATCH] Make CCP effectively remove UNDEFINED defs

2015-11-04 Thread Richard Biener
On Wed, 4 Nov 2015, Marc Glisse wrote: > On Wed, 4 Nov 2015, Richard Biener wrote: > > > The following patch makes sure that CCP when it computes a lattice > > value to UNDEFINED ends up replacing uses with default defs (and thus > > removes such UNDEFINED producing defs). This optimizes the tes

Re: [PATCH] Make CCP effectively remove UNDEFINED defs

2015-11-04 Thread Marc Glisse
On Wed, 4 Nov 2015, Richard Biener wrote: The following patch makes sure that CCP when it computes a lattice value to UNDEFINED ends up replacing uses with default defs (and thus removes such UNDEFINED producing defs). This optimizes the testcase below to : return _6(D); in the first CCP.

[PATCH] Make CCP effectively remove UNDEFINED defs

2015-11-04 Thread Richard Biener
The following patch makes sure that CCP when it computes a lattice value to UNDEFINED ends up replacing uses with default defs (and thus removes such UNDEFINED producing defs). This optimizes the testcase below to : return _6(D); in the first CCP. Note this patch isn't mainly for the optim