From d03f14c354a348cc1043f637cae1ac6470034f71 Mon Sep 17 00:00:00 2001 From: Richard Biener Date: Fri, 15 Jan 2021 13:49:04 +0100 Subject: [PATCH] testsuite/96147 - remove scanning for ! vect_hw_misalign 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. 2021-01-15 Richard Biener 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.30.2