Use scan-tree-dump instead of scan-tree-dump-times for some vect tests
authorRichard Sandiford <richard.sandiford@arm.com>
Wed, 6 Nov 2019 12:31:19 +0000 (12:31 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Wed, 6 Nov 2019 12:31:19 +0000 (12:31 +0000)
With later patches, we're able to vectorise the epilogues of these tests
on AArch64 and so get two instances of "vectorizing stmts using SLP".
Although it would be possible with a bit of effort to predict when
this happens, it doesn't seem important whether we get 1 vs. 2
occurrences.  All that matters is zero vs. nonzero.

2019-11-06  Richard Sandiford  <richard.sandiford@arm.com>

gcc/testsuite/
* gcc.dg/vect/slp-9.c: Use scan-tree-dump rather than
scan-tree-dump-times.
* gcc.dg/vect/slp-widen-mult-s16.c: Likewise.
* gcc.dg/vect/slp-widen-mult-u8.c: Likewise.

From-SVN: r277881

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/vect/slp-9.c
gcc/testsuite/gcc.dg/vect/slp-widen-mult-s16.c
gcc/testsuite/gcc.dg/vect/slp-widen-mult-u8.c

index b7fb5ce3a92bf38fe85f694673e16915786f7c03..2abf6f06b3905b35242c2730258553939259bf78 100644 (file)
@@ -1,3 +1,10 @@
+2019-11-06  Richard Sandiford  <richard.sandiford@arm.com>
+
+       * gcc.dg/vect/slp-9.c: Use scan-tree-dump rather than
+       scan-tree-dump-times.
+       * gcc.dg/vect/slp-widen-mult-s16.c: Likewise.
+       * gcc.dg/vect/slp-widen-mult-u8.c: Likewise.
+
 2019-11-06  Andre Vieira  <andre.simoesdiasvieira@arm.com>
 
        PR tree-optimization/92317
index d0c94f1986b799eee70c273e208534ab39688a61..d5212dca3ddcbffabdc9fbed8f2380ffceee626d 100644 (file)
@@ -44,5 +44,5 @@ int main (void)
 }
 
 /* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" { target vect_widen_mult_hi_to_si } } }*/
-/* { dg-final { scan-tree-dump-times "vectorizing stmts using SLP" 1 "vect" { target vect_widen_mult_hi_to_si } } } */
+/* { dg-final { scan-tree-dump "vectorizing stmts using SLP" "vect" { target vect_widen_mult_hi_to_si } } } */
 
index 4460d59b5a13c67ccca8c31e7810c0f837a2a689..abb10fde45bc807269cd5bb58f463a77f75118d8 100644 (file)
@@ -38,5 +38,5 @@ int main (void)
 }
 
 /* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" { target { vect_widen_mult_hi_to_si || vect_unpack } } } } */
-/* { dg-final { scan-tree-dump-times "vectorizing stmts using SLP" 1 "vect" { target { vect_widen_mult_hi_to_si || vect_unpack } } } } */
+/* { dg-final { scan-tree-dump "vectorizing stmts using SLP" "vect" { target { vect_widen_mult_hi_to_si || vect_unpack } } } } */
 
index 6e72c4878c2f7e73422c044e6659bf027696854a..0756119afb455a0b834fd835553318eb29887f4d 100644 (file)
@@ -38,5 +38,5 @@ int main (void)
 }
 
 /* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" { target { vect_widen_mult_qi_to_hi || vect_unpack } } } } */
-/* { dg-final { scan-tree-dump-times "vectorizing stmts using SLP" 1 "vect" { target { vect_widen_mult_hi_to_si || vect_unpack } } } } */
+/* { dg-final { scan-tree-dump "vectorizing stmts using SLP" "vect" { target { vect_widen_mult_hi_to_si || vect_unpack } } } } */