Re: [PATCH] vect: Don't vectorize a single scalar iteration loop [PR110740]

2023-07-23 Thread Kewen.Lin via Gcc-patches
on 2023/7/21 19:49, Richard Biener wrote: > On Fri, Jul 21, 2023 at 8:08 AM Kewen.Lin wrote: >> >> Hi, >> >> The function vect_update_epilogue_niters which has been >> removed by r14-2281 has some code taking care of that if >> there is only one scalar iteration left for epilogue then >> we won't

Re: [PATCH] vect: Don't vectorize a single scalar iteration loop [PR110740]

2023-07-21 Thread Richard Biener via Gcc-patches
On Fri, Jul 21, 2023 at 8:08 AM Kewen.Lin wrote: > > Hi, > > The function vect_update_epilogue_niters which has been > removed by r14-2281 has some code taking care of that if > there is only one scalar iteration left for epilogue then > we won't try to vectorize it any more. > > Although costing

[PATCH] vect: Don't vectorize a single scalar iteration loop [PR110740]

2023-07-20 Thread Kewen.Lin via Gcc-patches
Hi, The function vect_update_epilogue_niters which has been removed by r14-2281 has some code taking care of that if there is only one scalar iteration left for epilogue then we won't try to vectorize it any more. Although costing should be able to care about it eventually, I think we still want