Make more use of gimple-fold.h in tree-vect-loop.c
commitf3e1d2c38677ff8e9ed21ceb9e49e5cbfc30e60c
authorrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 14 Sep 2017 16:24:31 +0000 (14 16:24 +0000)
committerrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 14 Sep 2017 16:24:31 +0000 (14 16:24 +0000)
treec21c0358a4a4c3ca03d13aae79b8af5c1c535545
parent9ed1960bed86688e15599f8e690ee0f0901b4ef8
Make more use of gimple-fold.h in tree-vect-loop.c

This patch makes the vectoriser use the gimple-fold.h routines
in more cases, instead of vect_init_vector.  Later patches want
to use the same interface to handle variable-length vectors.

2017-09-14  Richard Sandiford  <richard.sandiford@linaro.org>
    Alan Hayward  <alan.hayward@arm.com>
    David Sherwood  <david.sherwood@arm.com>

gcc/
* tree-vect-loop.c (vectorizable_induction): Use gimple_build instead
of vect_init_vector.

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