1 /* { dg-require-effective-target vect_int } */
2 /* { dg-additional-options "--param vect-max-version-for-alias-checks=0" } */
8 char x
[N
] __attribute__ ((__aligned__(__BIGGEST_ALIGNMENT__
)));
9 char cb
[N
] __attribute__ ((__aligned__(__BIGGEST_ALIGNMENT__
))) = {0,3,6,9,12,15,18,21,24,27,30,33,36,39,42,45};
11 __attribute__ ((noinline
))
20 /* Not vectorized - can't antialias the pointer s.p from the array cb. */
22 for (i
= 0; i
< N
; i
++)
29 for (i
= 0; i
< N
; i
++)
35 /* Not vectorized - can't antialias the pointer s.p from the pointer s.q. */
37 for (i
= 0; i
< N
; i
++)
44 for (i
= 0; i
< N
; i
++)
60 /* Currently the loops fail to vectorize due to aliasing problems.
61 If/when the aliasing problems are resolved, unalignment may
62 prevent vectorization on some targets. */
63 /* { dg-final { scan-tree-dump-times "vectorized 2 loops" 1 "vect" { xfail *-*-* } } } */
64 /* { dg-final { scan-tree-dump-times "can't determine dependence" 2 "vect" { target { ! vect_multiple_sizes } } } } */
65 /* { dg-final { scan-tree-dump "can't determine dependence" "vect" { target vect_multiple_sizes } } } */