tree-vectorizer.h (vect_build_loop_niters): New parameter.
authorBin Cheng <bin.cheng@arm.com>
Wed, 7 Jun 2017 10:53:02 +0000 (10:53 +0000)
committerBin Cheng <amker@gcc.gnu.org>
Wed, 7 Jun 2017 10:53:02 +0000 (10:53 +0000)
commit7078979b291419f353804cc32ecfdb22367b6e0d
treecf5b821d23cf540d0e7289e381d0a618ffcb1225
parentba00284cedbcb0b980af4e5e41f427581af64462
tree-vectorizer.h (vect_build_loop_niters): New parameter.

* tree-vectorizer.h (vect_build_loop_niters): New parameter.
* tree-vect-loop-manip.c (vect_build_loop_niters): New parameter.
Set true to new parameter if new ssa variable is defined.
(vect_gen_vector_loop_niters): Refactor.  Set range information
for the new vector loop bound variable.
(vect_do_peeling): Ditto.

From-SVN: r248958
gcc/ChangeLog
gcc/tree-vect-loop-manip.c
gcc/tree-vectorizer.h