add support for generating ASTs from schedule relations
[isl.git] / test_inputs / codegen / cloog / reservoir-pingali1.c
blobcff4b8e652f2238b39a4c00b56545bf9c8cbcb8e
1 for (int c1 = 1; c1 <= M; c1 += 1)
2 for (int c3 = 1; c3 <= 2 * N - 1; c3 += 1) {
3 for (int c5 = max(1, -N + c3); c5 <= (c3 + 1) / 2 - 1; c5 += 1)
4 S1(c1, c3 - c5, c5);
5 if ((c3 - 1) % 2 == 0)
6 S2(c1, (c3 + 1) / 2);