Re: [PATCH] tree-optimization/113576 - non-empty latch and may_be_zero vectorization

2024-01-25 Thread Maxim Kuvyrkov
> On Jan 24, 2024, at 18:40, Richard Biener wrote: > > We can't support niters with may_be_zero when we end up with a > non-empty latch due to early exit peeling. At least not in > the simplistic way the vectorizer handles this now. Disallow > it again for exits that are not the last one. > >

[PATCH] tree-optimization/113576 - non-empty latch and may_be_zero vectorization

2024-01-24 Thread Richard Biener
We can't support niters with may_be_zero when we end up with a non-empty latch due to early exit peeling. At least not in the simplistic way the vectorizer handles this now. Disallow it again for exits that are not the last one. Bootstrap and regtest running on x86_64-unknown-linux-gnu.