Pass a vec_info to vect_supportable_direct_optab_p
authorRichard Sandiford <richard.sandiford@arm.com>
Mon, 21 Oct 2019 06:40:44 +0000 (06:40 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Mon, 21 Oct 2019 06:40:44 +0000 (06:40 +0000)
commitdcab2a0d1d4b2c0b4bba6f5e3834ec0678a2a5c8
treef525858800f7508c79bed28b27a09f94d413adc0
parenta5c3185a503fbdbc1bf05efe8ab9d12850a211c1
Pass a vec_info to vect_supportable_direct_optab_p

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

gcc/
* tree-vect-patterns.c (vect_supportable_direct_optab_p): Take
a vec_info.
(vect_recog_dot_prod_pattern): Update call accordingly.
(vect_recog_sad_pattern, vect_recog_pow_pattern): Likewise.
(vect_recog_widen_sum_pattern): Likewise.

From-SVN: r277225
gcc/ChangeLog
gcc/tree-vect-patterns.c