tree-vect-stmts.c (enum scan_store_kind): New type.
authorJakub Jelinek <jakub@redhat.com>
Thu, 20 Jun 2019 07:06:08 +0000 (09:06 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Thu, 20 Jun 2019 07:06:08 +0000 (09:06 +0200)
commit48b63a31f8c02f262579432fd65f61abfefe4980
tree0fdf6e04e32203576f2c54d32f7c616887fd05a7
parent170f2d181d45b1197a2873d7dd055530e01d424a
tree-vect-stmts.c (enum scan_store_kind): New type.

* tree-vect-stmts.c (enum scan_store_kind): New type.
(scan_store_can_perm_p): Change last argument from int * to
vec<enum scan_store_kind> *, record precisely which permutations
need whole vector left shift or that plus VEC_COND_EXPR.
(vectorizable_scan_store): Adjust caller, use whole vector left shift
and additional VEC_COND_EXPR only for those iterations that need it.

From-SVN: r272497
gcc/ChangeLog
gcc/tree-vect-stmts.c