public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r12-6722] testsuite/102833 - fix gcc.dg/vect/bb-slp-17.c dump scanning
@ 2022-01-19  7:19 Richard Biener
  0 siblings, 0 replies; only message in thread
From: Richard Biener @ 2022-01-19  7:19 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:54e33cf120dab24ce44d7d6028e6247c9489092f

commit r12-6722-g54e33cf120dab24ce44d7d6028e6247c9489092f
Author: Richard Biener <rguenther@suse.de>
Date:   Wed Jan 19 08:17:10 2022 +0100

    testsuite/102833 - fix gcc.dg/vect/bb-slp-17.c dump scanning
    
    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.

Diff:
---
 gcc/testsuite/gcc.dg/vect/bb-slp-17.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/gcc/testsuite/gcc.dg/vect/bb-slp-17.c b/gcc/testsuite/gcc.dg/vect/bb-slp-17.c
index f8bfb4b8b1a..fc3ef42f51a 100644
--- a/gcc/testsuite/gcc.dg/vect/bb-slp-17.c
+++ b/gcc/testsuite/gcc.dg/vect/bb-slp-17.c
@@ -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 } } } } */


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-01-19  7:19 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-19  7:19 [gcc r12-6722] testsuite/102833 - fix gcc.dg/vect/bb-slp-17.c dump scanning Richard Biener

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).