From: Richard Sandiford Date: Wed, 6 Nov 2019 12:31:19 +0000 (+0000) Subject: Use scan-tree-dump instead of scan-tree-dump-times for some vect tests X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=feba3d8838118d3c41b8e25f13beaa6a15b38302;p=gcc.git Use scan-tree-dump instead of scan-tree-dump-times for some vect tests 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 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 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index b7fb5ce3a92..2abf6f06b39 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,10 @@ +2019-11-06 Richard Sandiford + + * 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 PR tree-optimization/92317 diff --git a/gcc/testsuite/gcc.dg/vect/slp-9.c b/gcc/testsuite/gcc.dg/vect/slp-9.c index d0c94f1986b..d5212dca3dd 100644 --- a/gcc/testsuite/gcc.dg/vect/slp-9.c +++ b/gcc/testsuite/gcc.dg/vect/slp-9.c @@ -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 } } } */ diff --git a/gcc/testsuite/gcc.dg/vect/slp-widen-mult-s16.c b/gcc/testsuite/gcc.dg/vect/slp-widen-mult-s16.c index 4460d59b5a1..abb10fde45b 100644 --- a/gcc/testsuite/gcc.dg/vect/slp-widen-mult-s16.c +++ b/gcc/testsuite/gcc.dg/vect/slp-widen-mult-s16.c @@ -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 } } } } */ diff --git a/gcc/testsuite/gcc.dg/vect/slp-widen-mult-u8.c b/gcc/testsuite/gcc.dg/vect/slp-widen-mult-u8.c index 6e72c4878c2..0756119afb4 100644 --- a/gcc/testsuite/gcc.dg/vect/slp-widen-mult-u8.c +++ b/gcc/testsuite/gcc.dg/vect/slp-widen-mult-u8.c @@ -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 } } } } */