re PR tree-optimization/88464 (AVX-512 vectorization of masked scatter failing with...
authorJakub Jelinek <jakub@redhat.com>
Thu, 13 Dec 2018 17:01:50 +0000 (18:01 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Thu, 13 Dec 2018 17:01:50 +0000 (18:01 +0100)
commit0e350f135b11b105ae98a45441115b9a2a3e6fc3
tree4a0229d83fc2631a02fda0bef8bc1a70a556c19e
parent2139fd74f31449c01f347bd1005cfab52cde7969
re PR tree-optimization/88464 (AVX-512 vectorization of masked scatter failing with "not suitable for scatter store")

PR tree-optimization/88464
* tree-vect-stmts.c (vect_build_gather_load_calls): Handle INTEGER_TYPE
masktype if mask is non-NULL.
(vectorizable_load): Don't reject masked gather loads if masktype
in the decl is INTEGER_TYPE.

* gcc.target/i386/avx512f-pr88462-1.c: New test.
* gcc.target/i386/avx512f-pr88462-2.c: New test.

From-SVN: r267097
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/avx512f-pr88462-1.c [new file with mode: 0644]
gcc/testsuite/gcc.target/i386/avx512f-pr88462-2.c [new file with mode: 0644]
gcc/tree-vect-stmts.c