1 /* { dg-require-effective-target vect_int } */
15 char x
[N
] __attribute__ ((__aligned__(16)));
16 char cb
[N
] __attribute__ ((__aligned__(16))) = {0,3,6,9,12,15,18,21,24,27,30,33,36,39,42,45};
18 /* Check that datarefs analysis can determine that the access via pointer
19 s.p is based off array x, which enables us to antialias this access from
20 the access to array cb. */
22 for (i
= 0; i
< N
; i
++)
28 for (i
= 0; i
< N
; i
++)
34 /* Check that datarefs analysis can determine that the access via pointer
35 s.p is based off array x, and that the access via pointer s.q is based off
36 array cb, which enables us to antialias these two accesses. */
38 for (i
= 0; i
< N
; i
++)
44 for (i
= 0; i
< N
; i
++)
61 /* { dg-final { scan-tree-dump-times "vectorized 2 loops" 1 "vect" } } */
62 /* { dg-final { scan-tree-dump-times "Vectorizing an unaligned access" 0 "vect" } } */
63 /* { dg-final { cleanup-tree-dump "vect" } } */