testsuite/96147 - remove scanning for ! vect_hw_misalign
authorRichard Biener <rguenther@suse.de>
Fri, 15 Jan 2021 12:49:04 +0000 (13:49 +0100)
committerRichard Biener <rguenther@suse.de>
Fri, 15 Jan 2021 12:50:50 +0000 (13:50 +0100)
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  <rguenther@suse.de>

PR testsuite/96147
* gcc.dg/vect/slp-43.c: Remove ! vect_hw_misalign scan.

gcc/testsuite/gcc.dg/vect/slp-43.c

index 0344cc9862537e197a6b12685eb9136185ad41c1..3cee613bdbed4b7ca7a796d45776b833cff2d1a2 100644 (file)
@@ -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.  */