1 /* { dg-require-effective-target vect_int } */
8 void __attribute__((noinline))
9 foo (int n, int *ub, int *uc)
13 for (i = 0; i < n; i++)
16 for (j = 0; j < M; j++)
18 tmp1 += uc[i] * ((int)(j << N) / M);
32 /* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" { target vect_int_mult } } } */
33 /* { dg-final { cleanup-tree-dump "vect" } } */