1 /* { dg-require-effective-target vect_int } */
2 /* { dg-require-effective-target vect_perm } */
8 void __attribute__((noipa
))
9 foo (int a
[][ARR_SIZE
], int *b
)
12 for (i
= 0; i
< ARR_SIZE
; ++i
)
29 for (int i
= 0; i
< 4; ++i
)
32 for (int j
= 0; j
< ARR_SIZE
; ++j
)
33 a
[i
][j
] = (i
+ 1) * ARR_SIZE
- j
;
38 for (int i
= 0; i
< 4; ++i
)
40 for (int j
= 0; j
< ARR_SIZE
; ++j
)
41 if (a
[i
][j
] != (i
+ 1) * ARR_SIZE
- j
+ 20 * i
)
48 /* See that we do not try to vectorize the uniform CTORs. */
49 /* { dg-final { scan-tree-dump-not "Analyzing vectorizable constructor" "slp1" } } */