1 /* { dg-require-effective-target vect_simd_clones } */
2 /* { dg-additional-options "-fopenmp-simd" } */
8 #pragma omp declare simd simdlen(4) notinbranch
9 __attribute__((noinline
)) int
15 void __attribute__((noipa
))
19 for (int i
= 0; i
< 512; i
++)
21 x
[2*i
+0] = foo (x
[2*i
+0], x
[2*i
+0]);
22 x
[2*i
+1] = foo (x
[2*i
+1], x
[2*i
+1]);
33 for (i
= 0; i
< 1024; i
++)
39 for (i
= 0; i
< 1024; i
++)
46 /* { dg-final { scan-tree-dump "vectorizing stmts using SLP" "vect" } } */