Fix type of bitstart in vectorizable_live_operation
commitf9674f3d59b2a61bd779632cd23679383a60a22f
authorrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 18 Sep 2017 15:28:55 +0000 (18 15:28 +0000)
committerrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 18 Sep 2017 15:28:55 +0000 (18 15:28 +0000)
tree03d9673338775b35f211c908713f09826972a57b
parentaa8a4b0bb66dbbcec3475929608eba447889571c
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@252931 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/tree-vect-loop.c