https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98908
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks| |53947 Status|UNCONFIRMED |NEW Last reconfirmed| |2021-02-02 Ever confirmed|0 |1 --- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> --- The vectorizer would do this if there's a V2QImode or generic vect would be enabled for sth not just word_mode size. For SLP vectorization it should be easy to restrict the search space (aka choose a prefered SIMD mode). Referenced Bugs: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53947 [Bug 53947] [meta-bug] vectorizer missed-optimizations