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