http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50482
--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-09-22 16:24:34 UTC --- Sorry for that, yeah, the patch looks right. BTW, for CONST_VECTOR containing all bits set we could do better, for VEC_COND_EXPR x < y ? -1 : z we can do mask = x < y; z | mask; and for x < y ? z : -1; and for if the comparison is reversible mask = x >= y; z | mask.
