tree-vect-loop.c (vect_analyze_loop_2): Check and skip loop if it has no enough itera...
authorBin Cheng <bin.cheng@arm.com>
Thu, 13 Oct 2016 10:58:26 +0000 (10:58 +0000)
committerBin Cheng <amker@gcc.gnu.org>
Thu, 13 Oct 2016 10:58:26 +0000 (10:58 +0000)
commit328ba117bab9dfd05bfdde90d3673661d1654e09
tree51ac8be786c9c0e5cfd50b5aa0cd1b0d601f2548
parent37cf9f4f1c3251d594468e52e41e18433130aba7
tree-vect-loop.c (vect_analyze_loop_2): Check and skip loop if it has no enough iterations for LOOP_VINFO_PEELING_FOR_GAPS.

* tree-vect-loop.c (vect_analyze_loop_2): Check and skip loop if it
has no enough iterations for LOOP_VINFO_PEELING_FOR_GAPS.

gcc/testsuite
* gcc.dg/vect/vect-98.c: Refine test case.
* gcc.dg/vect/vect-strided-a-u8-i8-gap2.c: Increase niters.
* gcc.dg/vect/vect-strided-u8-i8-gap2.c: Ditto.
* gcc.dg/vect/vect-strided-u8-i8-gap4.c: Ditto.

From-SVN: r241097
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/vect/vect-98.c
gcc/testsuite/gcc.dg/vect/vect-strided-a-u8-i8-gap2.c
gcc/testsuite/gcc.dg/vect/vect-strided-u8-i8-gap2.c
gcc/testsuite/gcc.dg/vect/vect-strided-u8-i8-gap4.c
gcc/tree-vect-loop.c