https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106704
--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> --- So perhaps the r12-1834-g28560c6d4043d8f6ac570f3 change for TARGET_AVX && !TARGET_AVX2 should be done only if we can fold the VEC_COND_EXPR into a constant or something it can handle and otherwise keep the builtin as is?