https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97832
--- Comment #26 from Hongtao.liu <crazylht at gmail dot com> --- > I guess that's possible but the SLP vectorizer has a permute optimization > phase (and SLP discovery itself), it would be nice to see why the former > doesn't elide the permutes here. I've opened PR107891 for it.