https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101801
--- Comment #4 from Richard Biener <rguenth at gcc dot gnu.org> --- (In reply to rsand...@gcc.gnu.org from comment #3) > So maybe a less invasive fix would be to add && !VECTOR_BOOLEAN_TYPE_P > to the condition. Still no objection to killing it off instead though. Yeah, I've pondered adding && !mask_op_p - but I'm not sure if VECTOR_BOOLEAN_TYPE_P can be generic vectors (I guess not at the moment). So detecting what is a generic vector and what not seems fragile. Btw, we _do_ vectorize using vector booleans, it's just the check for vect_worthwhile_without_simd_p misclassifies the non-vector-mode types as "generic". I'm currently checking whether there's any testsuite fallout in making vect_worthwhile_without_simd_p return true unconditionally.