Debian Codegraph @

gcc/testsuite/gcc.dg/graphite/scop-pr66980.c

raw
1 void foo(unsigned char *in, unsigned char *out, int w, int h)
2 {
3 unsigned int i, j;
4 for (i = 0; i < 3*w*h; i++)
5 for (j = 0; j < 3*w*h; j++)
6 out[i * w + j] = in[(i * w + j)*3] + in[(i * w + j)*3 + 1] + in[(i * w + j)*3 + 2];
7 }
8
9 /* Requires delinearization to be able to represent "i*w". */
10 /* { dg-final { scan-tree-dump-times "number of SCoPs: 1" 1 "graphite" { xfail *-*-* } } } */