Pass a vec_info to vect_supportable_shift
authorRichard Sandiford <richard.sandiford@arm.com>
Mon, 21 Oct 2019 06:40:41 +0000 (06:40 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Mon, 21 Oct 2019 06:40:41 +0000 (06:40 +0000)
commita5c3185a503fbdbc1bf05efe8ab9d12850a211c1
tree383672aa374f933c27f605ea79951260df11ca8e
parentda157e2ee9e12348df78246ee33b244b7cc334df
Pass a vec_info to vect_supportable_shift

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

gcc/
* tree-vectorizer.h (vect_supportable_shift): Take a vec_info.
* tree-vect-stmts.c (vect_supportable_shift): Likewise.
* tree-vect-patterns.c (vect_synth_mult_by_constant): Update call
accordingly.

From-SVN: r277224
gcc/ChangeLog
gcc/tree-vect-patterns.c
gcc/tree-vect-stmts.c
gcc/tree-vectorizer.h