Use SCALAR_TYPE_MODE in vect_create_epilog_for_reduction
commit98a46e07665aad1bbde51d03ad41000141aaf3ca
authorrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 23 Oct 2017 09:40:51 +0000 (23 09:40 +0000)
committerrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 23 Oct 2017 09:40:51 +0000 (23 09:40 +0000)
tree2185cfd194036ffe60772bddea6e082d10dedd66
parent1fcff97183e0554d50416c3c122b27159f1e87c0
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.

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