1 /* { dg-do compile } */
2 /* { dg-require-effective-target vect_int } */
9 for (i
= 0; i
< n
; ++i
)
11 p
[i
*4+0] = q
[i
*8+0] + q
[i
*8+4];
12 p
[i
*4+1] = q
[i
*8+1] + q
[i
*8+5];
13 p
[i
*4+2] = q
[i
*8+2] + q
[i
*8+6];
14 p
[i
*4+3] = q
[i
*8+3] + q
[i
*8+7];
18 /* { dg-final { scan-tree-dump "vectorizing stmts using SLP" "vect" { xfail vect_variable_length } } } */
19 /* { dg-final { scan-tree-dump "vectorized 1 loops" "vect" } } */