blob: 0737da5d67189460f8cf44c20b9cb46819dd0f27 [file] [log] [blame]
/* { dg-do compile } */
/* { dg-additional-options "-O2 -ftree-vectorize -fvect-cost-model=cheap" } */
void
f (int *x, int *y)
{
for (unsigned int i = 0; i < 1024; ++i)
x[i] += y[i];
}
/* { dg-final { scan-tree-dump {LOOP VECTORIZED} vect { target vect_int } } } */