testsuite/102833 - fix gcc.dg/vect/bb-slp-17.c dump scanning
authorRichard Biener <rguenther@suse.de>
Wed, 19 Jan 2022 07:17:10 +0000 (08:17 +0100)
committerRichard Biener <rguenther@suse.de>
Wed, 19 Jan 2022 07:18:52 +0000 (08:18 +0100)
The desired transform requires V2SI vector add support, the closest
we have is vect64 so check that which at least fixes the i?86 fail.

2022-01-19  Richard Biener  <rguenther@suse.de>

PR testsuite/102833
* gcc.dg/vect/bb-slp-17.c: Require vect64.

gcc/testsuite/gcc.dg/vect/bb-slp-17.c

index f8bfb4b..fc3ef42 100644 (file)
@@ -57,5 +57,6 @@ int main (void)
   return 0;
 }
 
-/* { dg-final { scan-tree-dump-times "optimized: basic block" 1 "slp2" { target vect_int_mult } } } */
-  
+/* We need V2SI vector add support for the b[] vectorization, if we don't
+   have that we might only see the store vectorized and thus 2 subgraphs.  */
+/* { dg-final { scan-tree-dump-times "optimized: basic block" 1 "slp2" { target { vect_int_mult && vect64 } } } } */