diff options
author | Richard Sandiford <richard.sandiford@linaro.org> | 2017-09-18 15:28:55 +0000 |
---|---|---|
committer | Richard Sandiford <rsandifo@gcc.gnu.org> | 2017-09-18 15:28:55 +0000 |
commit | e009b0558e8dd9bd9b17308104834ef5a1536975 (patch) | |
tree | 03d9673338775b35f211c908713f09826972a57b /gcc/tree-vect-data-refs.c | |
parent | dd25e724a475caffa4372f911d15536d09c342c8 (diff) | |
download | gcc-e009b0558e8dd9bd9b17308104834ef5a1536975.zip gcc-e009b0558e8dd9bd9b17308104834ef5a1536975.tar.gz gcc-e009b0558e8dd9bd9b17308104834ef5a1536975.tar.bz2 |
Fix type of bitstart in vectorizable_live_operation
This patch changes the type of the multiplier applied by
vectorizable_live_operation from unsigned_type_node to bitsizetype,
which matches the type of TYPE_SIZE and is the type expected of a
BIT_FIELD_REF bit position. This is shown by existing tests when
SVE is added.
2017-09-18 Richard Sandiford <richard.sandiford@linaro.org>
Alan Hayward <alan.hayward@arm.com>
David Sherwood <david.sherwood@arm.com>
gcc/
* tree-vect-loop.c (vectorizable_live_operation): Fix type of
bitstart.
Co-Authored-By: Alan Hayward <alan.hayward@arm.com>
Co-Authored-By: David Sherwood <david.sherwood@arm.com>
From-SVN: r252931
Diffstat (limited to 'gcc/tree-vect-data-refs.c')
0 files changed, 0 insertions, 0 deletions