Re: [PATCH] vect: Skip epilogue loops for dbgcnt check [PR96451]

2020-08-05 Thread Richard Biener via Gcc-patches
On Wed, Aug 5, 2020 at 9:48 AM Kewen.Lin wrote: > > Hi, > > As the PR shows, commit r11-2453 exposed one issue that vectorizer > wants to vectorize the epilogue loop and leaves the if-cvt body there, > but later dbgcnt check disables it, the left scalar mask_store > statement cause ICE. > > As Ric

[PATCH] vect: Skip epilogue loops for dbgcnt check [PR96451]

2020-08-05 Thread Kewen.Lin via Gcc-patches
Hi, As the PR shows, commit r11-2453 exposed one issue that vectorizer wants to vectorize the epilogue loop and leaves the if-cvt body there, but later dbgcnt check disables it, the left scalar mask_store statement cause ICE. As Richard pointed out in that PR, the dbgcnt is to count original scal