This removes scanning that's too difficult to get correct for all targets, leaving the correctness test for them and keeping the vectorization capability check to vect_hw_misalign targets.
Pused. 2021-01-15 Richard Biener <rguent...@suse.de> PR testsuite/96147 * gcc.dg/vect/slp-43.c: Remove ! vect_hw_misalign scan. --- gcc/testsuite/gcc.dg/vect/slp-43.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gcc/testsuite/gcc.dg/vect/slp-43.c b/gcc/testsuite/gcc.dg/vect/slp-43.c index 0344cc98625..3cee613bdbe 100644 --- a/gcc/testsuite/gcc.dg/vect/slp-43.c +++ b/gcc/testsuite/gcc.dg/vect/slp-43.c @@ -78,4 +78,6 @@ int main() } /* { dg-final { scan-tree-dump-times "vectorized 1 loops" 13 "vect" { target vect_hw_misalign } } } */ -/* { dg-final { scan-tree-dump-times "vectorized 1 loops" 2 "vect" { target { ! vect_hw_misalign } } } } */ +/* For ! vect_hw_misalign it depends on vector size and actual alignment + requirements of the target which functions can be vectorized. Avoid + that bean-counting and per-target listing here. */ -- 2.26.2