diff options
author | Richard Sandiford <richard.sandiford@linaro.org> | 2018-01-03 07:16:28 +0000 |
---|---|---|
committer | Richard Sandiford <rsandifo@gcc.gnu.org> | 2018-01-03 07:16:28 +0000 |
commit | 062d5ccc1180aa6bca717309d26408a029af1fd7 (patch) | |
tree | 28241ae886e345168496960efb14a73002a657a2 /gcc/tree-vect-data-refs.c | |
parent | cf1b2ba4ea9ee4b27e341c3f704416dc77d7172f (diff) | |
download | gcc-062d5ccc1180aa6bca717309d26408a029af1fd7.zip gcc-062d5ccc1180aa6bca717309d26408a029af1fd7.tar.gz gcc-062d5ccc1180aa6bca717309d26408a029af1fd7.tar.bz2 |
poly_int: vectorizable_conversion
This patch makes vectorizable_conversion cope with variable-length
vectors. We already require the number of elements in one vector
to be a multiple of the number of elements in the other vector,
so the patch uses that to choose between widening and narrowing.
2018-01-03 Richard Sandiford <richard.sandiford@linaro.org>
Alan Hayward <alan.hayward@arm.com>
David Sherwood <david.sherwood@arm.com>
gcc/
* tree-vect-stmts.c (vectorizable_conversion): Treat the number
of units as polynomial. Choose between WIDE and NARROW based
on multiple_p.
Co-Authored-By: Alan Hayward <alan.hayward@arm.com>
Co-Authored-By: David Sherwood <david.sherwood@arm.com>
From-SVN: r256139
Diffstat (limited to 'gcc/tree-vect-data-refs.c')
0 files changed, 0 insertions, 0 deletions