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

--- Comment #8 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Thu Aug  1 06:28:19 2019
New Revision: 273963

URL: https://gcc.gnu.org/viewcvs?rev=273963&root=gcc&view=rev
Log:
        Backported from mainline
        2019-07-17  Jakub Jelinek  <ja...@redhat.com>

        PR tree-optimization/91157
        * tree-vect-generic.c (expand_vector_comparison): Handle lhs being
        a vector boolean with scalar mode.
        (expand_vector_condition): Handle first operand being a vector boolean
        with scalar mode.
        (expand_vector_operations_1): For comparisons, don't bail out early
        if the return type is vector boolean with scalar mode, but comparison
        operand type is not.

        * gcc.target/i386/avx512f-pr91157.c: New test.
        * gcc.target/i386/avx512bw-pr91157.c: New test.

Added:
    branches/gcc-9-branch/gcc/testsuite/gcc.target/i386/avx512bw-pr91157.c
    branches/gcc-9-branch/gcc/testsuite/gcc.target/i386/avx512f-pr91157.c
Modified:
    branches/gcc-9-branch/gcc/ChangeLog
    branches/gcc-9-branch/gcc/testsuite/ChangeLog
    branches/gcc-9-branch/gcc/tree-vect-generic.c

Reply via email to