1 /* { dg-do compile } */
2 /* { dg-additional-options "-fno-tree-loop-vectorize" } */
4 int a
[4], b
[400], c
[400], d
[40000];
12 for (int i
= 0; i
< 100; ++i
)
18 for (int j
= 0; j
< 100; ++j
)
20 a0
+= d
[i
* 400 + j
* 4 + 1];
21 a1
+= d
[i
* 400 + j
* 4 + 0];
22 a2
+= d
[i
* 400 + j
* 4 + 3];
23 a3
+= d
[i
* 400 + j
* 4 + 2];
36 /* { dg-final { scan-tree-dump-times "add new stmt: \[^\\n\\r\]* = VEC_PERM_EXPR" 2 "slp1" { target { vect_int && vect_perm } } } } */