push affine conditions into index expressions
[pet.git] / tests / independent1.c
blob1d424adbcdcaf7e0209e6bfcba8eba4f4ac6c866
1 void foo(int n, int A[n][n], int B[n][n])
3 #pragma scop
4 for (int i = 0; i < n; ++i)
5 #pragma pencil independent
6 for (int j = 0; j < n; ++j)
7 B[i][A[i][j]] = i + j;
8 #pragma endscop