After r278246, we can try building the out[] store value from scalars
if the target has no multiplication support.  That's not necessarily
a good thing, but like most of vect/, this test is run with the cost
model disabled.

Tested on aarch64-linux-gnu, x86_64-linux-gnu, powerpc64-linux-gnu
(Power 7) and sparc-sun-solaris2.11.  OK to install?

Richard


2019-11-20  Richard Sandiford  <richard.sandif...@arm.com>

gcc/testsuite/
        PR testsuite/92527
        * gcc.dg/vect/bb-slp-21.c: Expect both SLP groups to be vectorized,
        regardless of whether the target supports multiplication.

Index: gcc/testsuite/gcc.dg/vect/bb-slp-21.c
===================================================================
--- gcc/testsuite/gcc.dg/vect/bb-slp-21.c       2019-11-20 12:46:19.000000000 
+0000
+++ gcc/testsuite/gcc.dg/vect/bb-slp-21.c       2019-11-20 12:46:19.940266697 
+0000
@@ -64,6 +64,5 @@ int main (void)
 }
 
 /* { dg-final { scan-tree-dump-times "basic block vectorized" 1 "slp2"  } } */
-/* { dg-final { scan-tree-dump-times "vectorizing stmts using SLP" 1 "slp2" { 
target { ! {vect_int_mult } } } } } */
-/* { dg-final { scan-tree-dump-times "vectorizing stmts using SLP" 2 "slp2" { 
target vect_int_mult } } } */
+/* { dg-final { scan-tree-dump-times "vectorizing stmts using SLP" 2 "slp2" } 
} */
   

Reply via email to