1 /* { dg-require-effective-target vect_int } */
9 /* Check handling of accesses for which the "initial condition" -
10 the expression that represents the first location accessed - is
11 more involved than just an ssa_name. */
13 int ib
[N
+OFF
] __attribute__ ((__aligned__(__BIGGEST_ALIGNMENT__
))) = {0, 1, 3, 5, 7, 11, 13, 17};
14 int ic
[N
+OFF
] = {0, 1, 3, 5, 7, 11, 13, 17};
16 __attribute__ ((noinline
))
21 for (i
= OFF
; i
< N
+OFF
; i
++)
23 ib
[i
] = ib
[i
%8]*(i
/8);
24 ic
[i
] = ic
[i
%8]*(i
/8);
25 asm volatile ("" ::: "memory");
28 for (i
= OFF
; i
< N
; i
++)
35 for (i
= OFF
; i
< N
; i
++)
37 if (ia
[i
] != pib
[i
- OFF
])
41 for (i
= 0; i
< N
; i
++)
48 for (i
= 0; i
< N
; i
++)
50 if (ia
[i
] != pib
[i
- OFF
])
54 for (i
= OFF
; i
< N
; i
++)
61 for (i
= OFF
; i
< N
; i
++)
63 if (ia
[i
] != ic
[i
- OFF
])
79 /* { dg-final { scan-tree-dump-times "vectorized 3 loops" 1 "vect" } } */