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 __attribute__ ((noinline
)) int
21 for (i
= 0; i
< N
; i
++)
29 /* The alignment of 'a' is unknown.
30 Yet we do know that both the read access and write access have
31 the same alignment. Peeling to align one of the accesses will
34 __attribute__ ((noinline
)) int
39 for (i
= 0; i
< N
; i
++)
47 __attribute__ ((noinline
)) int
52 for (i
= 0; i
< N
; i
++)
60 /* { dg-final { scan-tree-dump-times "vectorized 1 loops" 3 "vect" { xfail vect_no_int_add } } } */
61 /* { dg-final { scan-tree-dump-times "accesses have the same alignment." 3 "vect" } } */
62 /* { dg-final { scan-tree-dump-times "Alignment of access forced using peeling" 3 "vect" {target vector_alignment_reachable } } } */
63 /* { dg-final { scan-tree-dump-times "Alignment of access forced using versioning" 3 "vect" {target {! vector_alignment_reachable} } } } */
64 /* { dg-final { cleanup-tree-dump "vect" } } */