Re: [PATCH] Fix PR92512

2019-11-15 Thread Richard Biener
On Fri, 15 Nov 2019, Richard Biener wrote: > > The following fixes PR92512, we were failing to disqualify > _2 < 1 ? _2 : 2 with _2 being part of the reduction chain. > > Bootstrapped on x86_64-unknown-linux-gnu, testing in progress. And the following is what I committed. Richard. 2019-11-15

[PATCH] Fix PR92512

2019-11-15 Thread Richard Biener
The following fixes PR92512, we were failing to disqualify _2 < 1 ? _2 : 2 with _2 being part of the reduction chain. Bootstrapped on x86_64-unknown-linux-gnu, testing in progress. Richard. 2019-11-15 Richard Biener PR tree-optimization/92512 * tree-vect-loop.c (check_reduc