cfgexpand: Expand comment on when non-var clobbers can show up
[official-gcc.git] / gcc / testsuite / gcc.dg / vect / vect-cost-model-6.c
blob552febb5feebdfc4432de7871e0e2bd43fae4704
1 /* { dg-do compile } */
2 /* { dg-additional-options "-O2 -ftree-vectorize -fvect-cost-model=very-cheap" } */
4 void
5 f (int *restrict x, int *restrict y)
7 for (unsigned int i = 0; i < 1023; ++i)
8 x[i] += y[i];
11 /* { dg-final { scan-tree-dump {LOOP VECTORIZED} vect { target { vect_int && vect_partial_vectors_usage_2 } } } } */
12 /* { dg-final { scan-tree-dump-not {LOOP VECTORIZED} vect { target { vect_int && { ! vect_partial_vectors_usage_2 } } } } } */