https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67683
Hongtao Liu <liuhongt at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |liuhongt at gcc dot gnu.org --- Comment #6 from Hongtao Liu <liuhongt at gcc dot gnu.org> --- (In reply to Andrew Pinski from comment #5) > /app/example.cpp:5:20: note: vect_is_simple_use: operand # RANGE [irange] > short unsigned int [0, 2047][3294, 3294][6589, 6589][13179, 13179][26359, > 26359][52719, 52719] > val_16 = PHI <val_11(6), 52719(5)>, type of def: induction > > We detect it now. > But then it is still not vectorized ... We don't know how to peel for variable niter, there could be UD if we peel it like val(epilogue) = val >> (max / vf) * vf.