1 /* { dg-require-effective-target vect_int } */
7 char x
[N
] __attribute__ ((__aligned__(16)));
15 char cb
[N
] __attribute__ ((__aligned__(16))) = {0,3,6,9,12,15,18,21,24,27,30,33,36,39,42,45};
18 /* Not vectorized - can't antialias the pointer s.p from the array cb. */
20 for (i
= 0; i
< N
; i
++)
26 for (i
= 0; i
< N
; i
++)
32 /* Not vectorized - can't antialias the pointer s.p from the pointer s.q. */
34 for (i
= 0; i
< N
; i
++)
40 for (i
= 0; i
< N
; i
++)
56 /* Currently the loops fail to vectorize due to aliasing problems.
57 If/when the aliasing problems are resolved, unalignment may
58 prevent vectorization on some targets. */
59 /* { dg-final { scan-tree-dump-times "vectorized 2 loops" 1 "vect" { xfail *-*-* } } } */
60 /* { dg-final { scan-tree-dump-times "can't determine dependence between" 2 "vect" } } */
61 /* { dg-final { cleanup-tree-dump "vect" } } */