internal-fn.c (expand_MASK_LOAD): Adjust to maskload optab changes.
authorIlya Enkovich <enkovich.gnu@gmail.com>
Tue, 10 Nov 2015 12:06:05 +0000 (12:06 +0000)
committerIlya Enkovich <ienkovich@gcc.gnu.org>
Tue, 10 Nov 2015 12:06:05 +0000 (12:06 +0000)
commit045c12782cc8ccea5dda8e5b703bb794fc759aac
tree58e89245d538b87c44e1cedf05f978bb107e276d
parent42fd8198b4adabe3aa74e9bb98518a1d137c3aff
internal-fn.c (expand_MASK_LOAD): Adjust to maskload optab changes.

gcc/

* internal-fn.c (expand_MASK_LOAD): Adjust to maskload optab changes.
(expand_MASK_STORE): Adjust to maskstore optab changes.
* optabs-query.c (can_vec_mask_load_store_p): Add MASK_MODE arg.
 Adjust to maskload, maskstore optab changes.
* optabs-query.h (can_vec_mask_load_store_p): Add MASK_MODE arg.
* optabs.def (maskload_optab): Transform into convert optab.
(maskstore_optab): Likewise.
* tree-if-conv.c (ifcvt_can_use_mask_load_store): Adjust to
can_vec_mask_load_store_p signature change.
(predicate_mem_writes): Use boolean mask.
* tree-vect-stmts.c (vectorizable_mask_load_store): Adjust to
can_vec_mask_load_store_p signature change.  Allow invariant masks.
(vectorizable_operation): Ignore type precision for boolean vectors.

gcc/testsuite/

* gcc.target/i386/avx2-vec-mask-bit-not.c: New test.

From-SVN: r230099
gcc/ChangeLog
gcc/internal-fn.c
gcc/optabs-query.c
gcc/optabs-query.h
gcc/optabs.def
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/avx2-vec-mask-bit-not.c [new file with mode: 0644]
gcc/tree-if-conv.c
gcc/tree-vect-stmts.c