test: Update some cases for vect_partial_vectors_usage_1
authorKewen Lin <linkw@linux.ibm.com>
Tue, 24 Nov 2020 02:33:17 +0000 (20:33 -0600)
committerKewen Lin <linkw@linux.ibm.com>
Tue, 24 Nov 2020 02:33:37 +0000 (20:33 -0600)
commitab1d52b5618cdb975b460782cd7b98a017c55615
treed3b7fc04c0281264270640fa475ecfec8f10527d
parent5700973f4a30762b4fc21687bb5f7843e55da2e4
test: Update some cases for vect_partial_vectors_usage_1

Commit r11-3393 improved the epilogue loop handling of partial
vectors and we won't use partial vectors to vectorize a single
iteration scalar loop any more.

The affected test cases have only one single iteration in their
epilogues, so we shouldn't expect the vectorization with
partial vector there.

Tested with explicit --param=vect-partial-vector-usage=1 and
default enablement.

gcc/testsuite/ChangeLog:

* gcc.dg/vect/slp-perm-1.c: Adjust for partial vectors.
* gcc.dg/vect/slp-perm-5.c: Likewise.
* gcc.dg/vect/slp-perm-6.c: Likewise.
* gcc.dg/vect/slp-perm-7.c: Likewise.
gcc/testsuite/gcc.dg/vect/slp-perm-1.c
gcc/testsuite/gcc.dg/vect/slp-perm-5.c
gcc/testsuite/gcc.dg/vect/slp-perm-6.c
gcc/testsuite/gcc.dg/vect/slp-perm-7.c