Add target selectors to slp-37.c (PR87078)
authorRichard Sandiford <richard.sandiford@arm.com>
Tue, 28 Aug 2018 10:42:30 +0000 (10:42 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Tue, 28 Aug 2018 10:42:30 +0000 (10:42 +0000)
This test was failing for Power 7 due to the lack of hw support
for unaligned accesses.

2018-08-28  Richard Sandiford  <richard.sandiford@arm.com>

gcc/testsuite/
PR testsuite/87078
* gcc.dg/vect/slp-37.c: Restrict scan tests to vect_hw_misalign.

From-SVN: r263913

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/vect/slp-37.c

index bf4f5f7c5c94382913113bb5de1532d519e654e5..5dea5f7e994dcb09b5175746c7b6da0dd938c629 100644 (file)
@@ -1,3 +1,8 @@
+2018-08-28  Richard Sandiford  <richard.sandiford@arm.com>
+
+       PR testsuite/87078
+       * gcc.dg/vect/slp-37.c: Restrict scan tests to vect_hw_misalign.
+
 2018-08-28  Richard Biener  <rguenther@suse.de>
 
        PR tree-optimization/87117
index 54a5e18c51fffd9432466cb5da84e5492c2f7a78..a765cd70a09c2eb69df6d85b2056f0d90fc4120f 100644 (file)
@@ -58,5 +58,5 @@ int main (void)
   return 0;
 }
 
-/* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect"  } } */
-/* { dg-final { scan-tree-dump-times "vectorizing stmts using SLP" 1 "vect"  } } */
+/* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" { target vect_hw_misalign } } } */
+/* { dg-final { scan-tree-dump-times "vectorizing stmts using SLP" 1 "vect" { target vect_hw_misalign } } } */