tree-vect-loop.c (vect_transform_loop): Fix nb_iterations_upper_bound computation...
authorIlya Enkovich <ilya.enkovich@intel.com>
Fri, 29 Apr 2016 13:27:24 +0000 (13:27 +0000)
committerIlya Enkovich <ienkovich@gcc.gnu.org>
Fri, 29 Apr 2016 13:27:24 +0000 (13:27 +0000)
commitcca535a4c158308a7a3a6486b6b66efb576da585
treed784c314f3a6795ebd3163ce9db4f9afa2d8ecd5
parent2fff3db89fa064071835924a7a9e1751a0b383fa
tree-vect-loop.c (vect_transform_loop): Fix nb_iterations_upper_bound computation for vectorized loop.

gcc/

* tree-vect-loop.c (vect_transform_loop): Fix
nb_iterations_upper_bound computation for vectorized loop.

gcc/testsuite/

* gcc.target/i386/vect-unpack-2.c (avx512bw_test): Avoid
optimization of vector loop.
* gcc.target/i386/vect-unpack-3.c: New test.
* gcc.dg/vect/vect-nb-iter-ub-1.c: New test.
* gcc.dg/vect/vect-nb-iter-ub-2.c: New test.
* gcc.dg/vect/vect-nb-iter-ub-3.c: New test.

From-SVN: r235639
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/vect/vect-nb-iter-ub-1.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/vect/vect-nb-iter-ub-2.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/vect/vect-nb-iter-ub-3.c [new file with mode: 0644]
gcc/testsuite/gcc.target/i386/vect-unpack-2.c
gcc/testsuite/gcc.target/i386/vect-unpack-3.c [new file with mode: 0644]
gcc/tree-vect-loop.c