https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112992
--- Comment #6 from Hongtao Liu <liuhongt at gcc dot gnu.org> --- > Thoughts? Apologies if this is a dup. I'm happy to work up a patch if > someone could advise on where best this should be fixed. Perhaps RTL's > vec_duplicate could be canonicalized to the most appropriate vector mode? That may breaks avx512 embedded broadcast.