https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97832
--- Comment #8 from Richard Biener <rguenth at gcc dot gnu.org> --- Created attachment 49586 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49586&action=edit prototype This is a prototype patch which can serve as proof-of-concept. It needs cleanup plus better handling of hybrid SLP discovery. It depends on https://gcc.gnu.org/pipermail/gcc-patches/2020-November/559347.html to fix the testcase in this PR (which is included in the patch).