https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98287
--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Created attachment 50108 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50108&action=edit gcc11-pr98287.patch I'd be afraid it could be hundreds of patterns potentially affected by this. So I think it is much easier to handle that in the infrastructure. This patch attempts to do that when PROP_gimple_lvec property is set for cases for which expand_vector_operations_1 does something (except I've skipped the VEC_PERM_EXPR and VEC_COND_EXPR/COND_EXPR checks for now).