https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68714
--- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to Jakub Jelinek from comment #4) > I'd add this regressed with r229128, and indeed before that change reassoc > has been able to optimize the comparisons, but now it is not. So, either we > defer the creation of vec_cond_expr until later time, or need to teach at > least reassoc pass about COND_EXPRs and VEC_COND_EXPRs. More than that, vec_cond_expr for non x86_64 AVX targets here is useless and makes it harder to optimize otherwise. Why again do we need the vec_cond_expr for those expressions again?