aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2021-01-15 13:49:04 +0100
committerRichard Biener <rguenther@suse.de>2021-01-15 13:50:50 +0100
commitd03f14c354a348cc1043f637cae1ac6470034f71 (patch)
tree2c76f319a7f7e4a85737026f25c76b8f50be1955 /gcc
parent1a6306420090409cb397e2e042256eb1905f415f (diff)
downloadgcc-d03f14c354a348cc1043f637cae1ac6470034f71.zip
gcc-d03f14c354a348cc1043f637cae1ac6470034f71.tar.gz
gcc-d03f14c354a348cc1043f637cae1ac6470034f71.tar.bz2
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 <rguenther@suse.de> PR testsuite/96147 * gcc.dg/vect/slp-43.c: Remove ! vect_hw_misalign scan.
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/gcc.dg/vect/slp-43.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/gcc/testsuite/gcc.dg/vect/slp-43.c b/gcc/testsuite/gcc.dg/vect/slp-43.c
index 0344cc9..3cee613 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. */