Pass a vec_info to can_duplicate_and_interleave_p
authorRichard Sandiford <richard.sandiford@arm.com>
Mon, 21 Oct 2019 06:41:05 +0000 (06:41 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Mon, 21 Oct 2019 06:41:05 +0000 (06:41 +0000)
commit43fdde5738ea0554fa000987e9769add027f4876
tree77c20e11d270b8d51769552253ac2882d1648a27
parentcdbe6e9bb4ae2882f77f94993783085fa342a9f9
Pass a vec_info to can_duplicate_and_interleave_p

2019-10-21  Richard Sandiford  <richard.sandiford@arm.com>

gcc/
* tree-vectorizer.h (can_duplicate_and_interleave_p): Take a vec_info.
* tree-vect-slp.c (can_duplicate_and_interleave_p): Likewise.
(duplicate_and_interleave): Update call accordingly.
* tree-vect-loop.c (vectorizable_reduction): Likewise.

From-SVN: r277229
gcc/ChangeLog
gcc/tree-vect-loop.c
gcc/tree-vect-slp.c
gcc/tree-vectorizer.h