Re: [PATCH]middle-end: update vector loop upper bounds when early break vect [PR113734]

2024-02-13 Thread Richard Biener
On Tue, 13 Feb 2024, Tamar Christina wrote: > Hi All, > > When doing early break vectorization we should treat the final iteration as > possibly being partial. This so that when we calculate the vector loop upper > bounds we take into account that final iteration could have done some work. > >

[PATCH]middle-end: update vector loop upper bounds when early break vect [PR113734]

2024-02-13 Thread Tamar Christina
Hi All, When doing early break vectorization we should treat the final iteration as possibly being partial. This so that when we calculate the vector loop upper bounds we take into account that final iteration could have done some work. The attached testcase shows that if we don't then cunroll