re PR tree-optimization/81196 (Number of iterations found for p!=q but not for p<q)
authorBin Cheng <bin.cheng@arm.com>
Thu, 29 Jun 2017 10:41:28 +0000 (10:41 +0000)
committerBin Cheng <amker@gcc.gnu.org>
Thu, 29 Jun 2017 10:41:28 +0000 (10:41 +0000)
commit6cd83bec4b76e19175a425b7e1841d9c5d0d164e
treec6e71e3aaba5005f83a4159c4ed5f4696d06f7d8
parenta7c9a3042453642fd220e01b2063307cd479472a
re PR tree-optimization/81196 (Number of iterations found for p!=q but not for p<q)

PR tree-optimization/81196
* tree-ssa-loop-niter.c (number_of_iterations_cond): Handle loop
exit condition comparing two IVs.

gcc/testsuite
* gcc.dg/vect/pr81196.c: New.

From-SVN: r249778
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/vect/pr81196.c [new file with mode: 0644]
gcc/tree-ssa-loop-niter.c