diff options
author | Richard Sandiford <richard.sandiford@linaro.org> | 2018-01-03 07:16:35 +0000 |
---|---|---|
committer | Richard Sandiford <rsandifo@gcc.gnu.org> | 2018-01-03 07:16:35 +0000 |
commit | a23644f23da672210ea6a443cefb7cd17111b160 (patch) | |
tree | 38ba2c3436c87fbfe2689af647dde5be2eea06fb /gcc/tree-vect-data-refs.c | |
parent | 062d5ccc1180aa6bca717309d26408a029af1fd7 (diff) | |
download | gcc-a23644f23da672210ea6a443cefb7cd17111b160.zip gcc-a23644f23da672210ea6a443cefb7cd17111b160.tar.gz gcc-a23644f23da672210ea6a443cefb7cd17111b160.tar.bz2 |
poly_int: vect_get_constant_vectors
For now, vect_get_constant_vectors can only cope with constant-length
vectors, although a patch after the main SVE submission relaxes this.
This patch adds an appropriate guard for variable-length vectors.
The TYPE_VECTOR_SUBPARTS use in vect_get_constant_vectors will then
have a to_constant call when TYPE_VECTOR_SUBPARTS becomes a poly_int.
2018-01-03 Richard Sandiford <richard.sandiford@linaro.org>
Alan Hayward <alan.hayward@arm.com>
David Sherwood <david.sherwood@arm.com>
gcc/
* tree-vect-slp.c (vect_get_and_check_slp_defs): Reject
constant and extern definitions for variable-length vectors.
(vect_get_constant_vectors): Note that the number of units
is known to be constant.
Co-Authored-By: Alan Hayward <alan.hayward@arm.com>
Co-Authored-By: David Sherwood <david.sherwood@arm.com>
From-SVN: r256140
Diffstat (limited to 'gcc/tree-vect-data-refs.c')
0 files changed, 0 insertions, 0 deletions