poly_int: vectoriser vf and uf
[official-gcc.git] / gcc / testsuite / gcc.dg / vect-opt-info-1.c
blob913b0138085ff9f21acbe61cadafcee124a7526a
1 /* { dg-options "-std=c99 -fopt-info -O3" } */
3 void
4 vadd (int *dst, int *op1, int *op2, int count)
6 for (int i = 0; i < count; ++i)
7 dst[i] = op1[i] + op2[i];
10 /* { dg-message "loop vectorized" "" { target *-*-* } 6 } */
11 /* { dg-message "loop versioned for vectorization because of possible aliasing" "" { target *-*-* } 6 } */