https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100089
--- Comment #9 from Richard Biener <rguenth at gcc dot gnu.org> --- Created attachment 51350 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51350&action=edit patch This implements scanning for not vectorized COND_EXPRs with -fvect-cost-model=very-cheap when vectorizing if-converted loop bodies. It also gives vect_bb_vectorization_profitable_p enough info to eventually do something more fancy (namely the original not if-converted loop body).