https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101895
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|12.0 |11.3 Summary|[11/12 Regression] SLP |[11 Regression] SLP |Vectorizer change pushes |Vectorizer change pushes |VEC_PERM_EXPR into bad |VEC_PERM_EXPR into bad |location spoiling further |location spoiling further |optimization opportunities |optimization opportunities Known to work| |12.0 Resolution|FIXED |--- Status|RESOLVED |NEW --- Comment #8 from Richard Biener <rguenth at gcc dot gnu.org> --- Fixed on trunk, keeping for reference purposes (backporting is not intended). There's also still the possibility to improve how the vectorizer handles this instead of fixing up after the fact (but that's for the future).