Use SCALAR_TYPE_MODE in vect_create_epilog_for_reduction
authorRichard Sandiford <richard.sandiford@linaro.org>
Mon, 23 Oct 2017 09:40:51 +0000 (09:40 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Mon, 23 Oct 2017 09:40:51 +0000 (09:40 +0000)
commit3ec43c5e312e368cca5cf0b9727bcbd71f13a704
tree2185cfd194036ffe60772bddea6e082d10dedd66
parent1fc50bea21a0aecd52046c6d0858a8c8428dc0cc
Use SCALAR_TYPE_MODE in vect_create_epilog_for_reduction

This follows on from similar changes a couple of months ago and
is needed when general modes have variable size.

2017-10-23  Richard Sandiford  <richard.sandiford@linaro.org>

gcc/
* tree-vect-loop.c (vect_create_epilog_for_reduction): Use
SCALAR_TYPE_MODE instead of TYPE_MODE.

From-SVN: r254002
gcc/ChangeLog
gcc/tree-vect-loop.c