Pass a vec_info to supportable_narrowing_operation
authorRichard Sandiford <richard.sandiford@arm.com>
Mon, 21 Oct 2019 06:41:15 +0000 (06:41 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Mon, 21 Oct 2019 06:41:15 +0000 (06:41 +0000)
commitdb8374a63fd0ea84f72ac76cc899be44df36df6a
tree087b69e9dada6d34ac381e187dac95c166c0a69b
parent6c261c667801eee46a6221d3681d17493c0bbd65
Pass a vec_info to supportable_narrowing_operation

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

gcc/
* tree-vectorizer.h (supportable_narrowing_operation): Take a vec_info.
* tree-vect-stmts.c (supportable_narrowing_operation): Likewise.
(simple_integer_narrowing): Update call accordingly.
(vectorizable_conversion): Likewise.

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