1 /* { dg-do compile } */
2 /* { dg-require-effective-target vect_int } */
11 /* The alignment of 'pa' is unknown.
12 Yet we do know that both the read access and write access have
13 the same alignment. Peeling to align one of the accesses will
16 Not vectorized yet due to problems in dataref analysis that
17 are fixed in autovect-branch but not yet in mainline. */
24 for (i = 0; i < N; i++)
32 /* The alignment of 'a' is unknown.
33 Yet we do know that both the read access and write access have
34 the same alignment. Peeling to align one of the accesses will
42 for (i = 0; i < N; i++)
55 for (i = 0; i < N; i++)
63 /* Currently only the loops in main2 and main3 get vectorized. After the merge
64 of the datarefs-analysis cleanups from autovect-branch to mainline, the loop
65 in main1 will also be vectorized. */
66 /* { dg-final { scan-tree-dump-times "vectorized 1 loops" 2 "vect" } } */
67 /* { dg-final { scan-tree-dump-times "Vectorizing an unaligned access" 0 "vect" } } */
68 /* { dg-final { scan-tree-dump-times "accesses have the same alignment." 2 "vect" } } */
69 /* { dg-final { scan-tree-dump-times "Alignment of access forced using peeling" 2 "vect" } } */
70 /* { dg-final { cleanup-tree-dump "vect" } } */