[Bug tree-optimization/88464] AVX-512 vectorization of masked scatter failing with "not suitable for scatter store"
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Dec 13 17:02:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88464
--- Comment #9 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Thu Dec 13 17:01:50 2018
New Revision: 267097
URL: https://gcc.gnu.org/viewcvs?rev=267097&root=gcc&view=rev
Log:
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.
Added:
trunk/gcc/testsuite/gcc.target/i386/avx512f-pr88462-1.c
trunk/gcc/testsuite/gcc.target/i386/avx512f-pr88462-2.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/testsuite/ChangeLog
trunk/gcc/tree-vect-stmts.c
More information about the Gcc-bugs
mailing list