re PR tree-optimization/91157 (ICE: verify_gimple failed (error: position plus size...
commitb9333ec437f272951ced9a390737116ef3f56909
authorJakub Jelinek <jakub@gcc.gnu.org>
Wed, 17 Jul 2019 07:15:30 +0000 (17 09:15 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Wed, 17 Jul 2019 07:15:30 +0000 (17 09:15 +0200)
tree068d52684f367c2d0c29959e7e4c322636e61137
parentdfa6e5b43b9a801973f5c8be21e158586beb8056
re PR tree-optimization/91157 (ICE: verify_gimple failed (error: position plus size exceeds size of referenced object in 'bit_field_ref'))

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.

From-SVN: r273545
gcc/tree-vect-generic.c