tree-vect-loop.c (loop_niters_no_overflow): New func.
authorBin Cheng <bin.cheng@arm.com>
Thu, 13 Oct 2016 11:09:23 +0000 (11:09 +0000)
committerBin Cheng <amker@gcc.gnu.org>
Thu, 13 Oct 2016 11:09:23 +0000 (11:09 +0000)
commitb4c32fe0ddfa8e6684693556a80d7173deca3f3d
treeb00d1e5e165e9e1ec7fa02f36ff1e7f38e370693
parentfcd2766617291ad6cf72a0583363bd3c8f8e8165
tree-vect-loop.c (loop_niters_no_overflow): New func.

* tree-vect-loop.c (loop_niters_no_overflow): New func.
(vect_transform_loop): Call loop_niters_no_overflow.  Pass the
no-overflow information to vect_do_peeling_for_loop_bound and
vect_gen_vector_loop_niters.

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