https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101286
--- Comment #3 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Jakub Jelinek <ja...@gcc.gnu.org>: https://gcc.gnu.org/g:f7cad1a0ffe9f003ec347521dfd33f320f4c2b04 commit r12-1974-gf7cad1a0ffe9f003ec347521dfd33f320f4c2b04 Author: Jakub Jelinek <ja...@redhat.com> Date: Fri Jul 2 10:06:56 2021 +0200 i386: Punt on broadcasts from TImode integers [PR101286] ix86_expand_vector_init_duplicate doesn't handle TImode -> V2TImode or TImode -> V4TImode broadcasts, so I think we should punt on TImode inner mode in ix86_broadcast_from_integer_constant, otherwise we ICE in ix86_expand_vector_move when ix86_broadcast_from_integer_constant returns non-NULL and ix86_expand_vector_init_duplicate returns false. In theory TImode element broadcasts could be handled by some permutations, but I'm not sure it is worth it. 2021-07-02 Jakub Jelinek <ja...@redhat.com> PR target/101286 * config/i386/i386-expand.c (ix86_broadcast_from_integer_constant): Return nullptr for TImode inner mode. * gcc.target/i386/avx2-pr101286.c: New test.