https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78938

--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Mon Jan  9 11:44:52 2017
New Revision: 244223

URL: https://gcc.gnu.org/viewcvs?rev=244223&root=gcc&view=rev
Log:
        PR tree-optimization/78938
        * tree-vect-stmts.c (vectorizable_condition): For non-masked COND_EXPR
        where comp_vectype is VECTOR_BOOLEAN_TYPE_P, use
        BIT_{NOT,XOR,AND,IOR}_EXPR on the comparison operands instead of
        {EQ,NE,GE,GT,LE,LT}_EXPR directly inside of VEC_COND_EXPR.  Formatting
        fixes.

        * gcc.dg/vect/pr78938.c: New test.

Added:
    trunk/gcc/testsuite/gcc.dg/vect/pr78938.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree-vect-stmts.c

Reply via email to