testsuite: Add a vect_partial_vectors_usage_2 guard
authorRichard Sandiford <richard.sandiford@arm.com>
Wed, 18 Nov 2020 18:40:31 +0000 (18:40 +0000)
committerRichard Sandiford <richard.sandiford@arm.com>
Wed, 18 Nov 2020 18:40:31 +0000 (18:40 +0000)
commit6d0ffd9a3eaeac5bc71fe00049c9faf37a72b0fa
tree9575968d84e7e3b03e84dd889a798687b3e6bb4d
parent0f545ad9b68445094975455a5657bfc8be2e4912
testsuite: Add a vect_partial_vectors_usage_2 guard

We don't need an epilogue loop if the main loop can operate on
partial vectors, so this patch disables an associated test.
The alternative would be to force partial-vectors-usage=1
on the command line.

gcc/testsuite/
* gcc.dg/vect/vect-epilogues.c: XFAIL test for epilogue loop
vectorization if vect_partial_vectors_usage_2.
gcc/testsuite/gcc.dg/vect/vect-epilogues.c