diff options
author | Richard Sandiford <richard.sandiford@arm.com> | 2020-11-18 18:40:31 +0000 |
---|---|---|
committer | Richard Sandiford <richard.sandiford@arm.com> | 2020-11-18 18:40:31 +0000 |
commit | 6d0ffd9a3eaeac5bc71fe00049c9faf37a72b0fa (patch) | |
tree | 9575968d84e7e3b03e84dd889a798687b3e6bb4d | |
parent | 0f545ad9b68445094975455a5657bfc8be2e4912 (diff) | |
download | gcc-6d0ffd9a3eaeac5bc71fe00049c9faf37a72b0fa.zip gcc-6d0ffd9a3eaeac5bc71fe00049c9faf37a72b0fa.tar.gz gcc-6d0ffd9a3eaeac5bc71fe00049c9faf37a72b0fa.tar.bz2 |
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.
-rw-r--r-- | gcc/testsuite/gcc.dg/vect/vect-epilogues.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/gcc.dg/vect/vect-epilogues.c b/gcc/testsuite/gcc.dg/vect/vect-epilogues.c index a146bb6..ab7e8a1 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-epilogues.c +++ b/gcc/testsuite/gcc.dg/vect/vect-epilogues.c @@ -16,4 +16,4 @@ void pixel_avg( unsigned char *dst, int i_dst_stride, } } -/* { dg-final { scan-tree-dump "LOOP EPILOGUE VECTORIZED" "vect" { target vect_multiple_sizes xfail { arm32 && be } } } } */ +/* { dg-final { scan-tree-dump "LOOP EPILOGUE VECTORIZED" "vect" { target vect_multiple_sizes xfail { { arm32 && be } || vect_partial_vectors_usage_2 } } } } */ |