Re: [PATCH] Use STMT_VINFO_REDUC_IDX instead of recomputing it

2019-10-28 Thread Richard Biener
On Fri, 25 Oct 2019, Richard Biener wrote: > > This is a cleanup. The cond-reduction restriction can go, > the fold-left one stays (it cannot handle more than one stmt in > the cycle - in the future when we get partial loop vectorization > generic code would handle duplicating of scalar code par

[PATCH] Use STMT_VINFO_REDUC_IDX instead of recomputing it

2019-10-25 Thread Richard Biener
This is a cleanup. The cond-reduction restriction can go, the fold-left one stays (it cannot handle more than one stmt in the cycle - in the future when we get partial loop vectorization generic code would handle duplicating of scalar code parts, they'd simply stay single-lane SLP graph parts).