r273963 - in /branches/gcc-9-branch/gcc: Change...
jakub@gcc.gnu.org
jakub@gcc.gnu.org
Thu Aug 1 06:28:00 GMT 2019
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 <jakub@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
More information about the Gcc-cvs
mailing list