1 /* { dg-require-effective-target vect_int } */
8 int a
[N
], b
[N
] __attribute__ ((__aligned__(__BIGGEST_ALIGNMENT__
)));
10 /* Vectorization of reduction. Loop-aware SLP is not possible, because of
13 __attribute__ ((noinline
))
14 int main1 (int n
, int res0
, int res1
)
17 int sum0
= 0, sum1
= 0;
19 for (i
= 0; i
< n
; i
++) {
38 for (i
= 0; i
< N
; i
++)
41 main1 (N
/2, 4032, 4032);
45 /* { dg-final { scan-tree-dump-times "vectorized 1 loops" 2 "vect" { xfail { vect_no_int_add || { ! { vect_unpack || vect_strided2 } } } } } } */
46 /* { dg-final { scan-tree-dump-times "vectorizing stmts using SLP" 0 "vect" } } */
47 /* { dg-final { scan-tree-dump-times "different interleaving chains in one node" 1 "vect" { target { ! vect_no_int_add } } } } */