Re: [PATCH] Split vector loop analysis into main and epilogue analysis

2021-11-05 Thread Richard Biener via Gcc-patches
On Fri, 5 Nov 2021, Richard Sandiford wrote: > Richard Biener writes: > > As discussed this splits the analysis loop into two, first settling > > on a vector mode used for the main loop and only then analyzing > > the epilogue of that for possible vectorization. That makes it > > easier to put i

Re: [PATCH] Split vector loop analysis into main and epilogue analysis

2021-11-05 Thread Richard Sandiford via Gcc-patches
Richard Biener writes: > As discussed this splits the analysis loop into two, first settling > on a vector mode used for the main loop and only then analyzing > the epilogue of that for possible vectorization. That makes it > easier to put in support for unrolled main loops. > > On the way I've r

[PATCH] Split vector loop analysis into main and epilogue analysis

2021-11-05 Thread Richard Biener via Gcc-patches
As discussed this splits the analysis loop into two, first settling on a vector mode used for the main loop and only then analyzing the epilogue of that for possible vectorization. That makes it easier to put in support for unrolled main loops. On the way I've realized some cleanup opportunities,