https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102806
--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> --- Yes, on the GIMPLE / Frontend level __builtin_shufflevector is implemented mostly on the functional level and I don't remember doing any additional specific optimizations (though it worked surprisingly well without those).