https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97706
--- Comment #8 from Richard Biener <rguenth at gcc dot gnu.org> --- OK, so we'd indeed need to handle PHIs in vect_recog_bool_pattern which might turn out a bit complicated. I'm not a fan of pattern detection for SLP vectorization anyway so I'll see what to do here.