https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79734
--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Author: jakub Date: Wed Mar 1 08:34:48 2017 New Revision: 245801 URL: https://gcc.gnu.org/viewcvs?rev=245801&root=gcc&view=rev Log: PR tree-optimization/79734 * tree-vect-generic.c (expand_vector_condition): Optimize AVX512 vector boolean VEC_COND_EXPRs into bitwise operations. Handle VEC_COND_EXPR where comparison has different inner width from type's inner width. * g++.dg/opt/pr79734.C: New test. Added: trunk/gcc/testsuite/g++.dg/opt/pr79734.C Modified: trunk/gcc/ChangeLog trunk/gcc/testsuite/ChangeLog trunk/gcc/tree-vect-generic.c