Re: [PATCH] Implement cond and induction cond reduction w/o REDUC_MAX_EXPR

2017-06-22 Thread Richard Biener
On June 22, 2017 6:20:57 PM GMT+02:00, Alan Hayward wrote: > >> On 22 Jun 2017, at 12:54, Richard Biener wrote: >> >> On Thu, 22 Jun 2017, Alan Hayward wrote: >> >>> On 22 Jun 2017, at 09:52, Richard Biener wrote: On Thu, 22 Jun 2017, Richard Biener wrote: > On Wed,

Re: [PATCH] Implement cond and induction cond reduction w/o REDUC_MAX_EXPR

2017-06-22 Thread Alan Hayward
> On 22 Jun 2017, at 12:54, Richard Biener wrote: > > On Thu, 22 Jun 2017, Alan Hayward wrote: > >> >>> On 22 Jun 2017, at 09:52, Richard Biener wrote: >>> >>> On Thu, 22 Jun 2017, Richard Biener wrote: >>> On Wed, 21 Jun 2017, Richard Biener wrote: > > During my attempt

Re: [PATCH] Implement cond and induction cond reduction w/o REDUC_MAX_EXPR

2017-06-22 Thread Richard Biener
On Thu, 22 Jun 2017, Alan Hayward wrote: > > > On 22 Jun 2017, at 09:52, Richard Biener wrote: > > > > On Thu, 22 Jun 2017, Richard Biener wrote: > > > >> On Wed, 21 Jun 2017, Richard Biener wrote: > >> > >>> > >>> During my attempt to refactor reduction vectorization I ran across > >>> the

Re: [PATCH] Implement cond and induction cond reduction w/o REDUC_MAX_EXPR

2017-06-22 Thread Alan Hayward
> On 22 Jun 2017, at 09:52, Richard Biener wrote: > > On Thu, 22 Jun 2017, Richard Biener wrote: > >> On Wed, 21 Jun 2017, Richard Biener wrote: >> >>> >>> During my attempt to refactor reduction vectorization I ran across >>> the special casing of inital values for INTEGER_INDUC_COND_REDUCTI

Re: [PATCH] Implement cond and induction cond reduction w/o REDUC_MAX_EXPR

2017-06-22 Thread Richard Biener
On Thu, 22 Jun 2017, Richard Biener wrote: > On Wed, 21 Jun 2017, Richard Biener wrote: > > > > > During my attempt to refactor reduction vectorization I ran across > > the special casing of inital values for INTEGER_INDUC_COND_REDUCTION > > and tried to see what it is about. So I ended up impl

Re: [PATCH] Implement cond and induction cond reduction w/o REDUC_MAX_EXPR

2017-06-22 Thread Richard Biener
On Wed, 21 Jun 2017, Richard Biener wrote: > > During my attempt to refactor reduction vectorization I ran across > the special casing of inital values for INTEGER_INDUC_COND_REDUCTION > and tried to see what it is about. So I ended up implementing > cond reduction support for targets w/o REDUC_

[PATCH] Implement cond and induction cond reduction w/o REDUC_MAX_EXPR

2017-06-21 Thread Richard Biener
During my attempt to refactor reduction vectorization I ran across the special casing of inital values for INTEGER_INDUC_COND_REDUCTION and tried to see what it is about. So I ended up implementing cond reduction support for targets w/o REDUC_MAX_EXPR by simply doing the reduction in scalar code