add support for generating ASTs from schedule relations
[isl.git] / test_inputs / codegen / omega / code_gen-1.c
blob80131bb5ead6fe018c6017f515f0433713a6f61f
1 for (int c0 = 1; c0 <= 8; c0 += 1) {
2 if (c0 <= 6)
3 for (int c1 = 0; c1 <= c0 - 2; c1 += 1)
4 s1(c0, c1);
5 if (c0 >= 2) {
6 for (int c1 = c0 - 1; c1 <= 4; c1 += 1) {
7 s1(c0, c1);
8 s0(c0, c1);
10 for (int c1 = max(c0 - 1, 5); c1 <= 7; c1 += 1)
11 s0(c0, c1);
13 if (c0 == 1)
14 for (int c1 = 0; c1 <= 7; c1 += 1)
15 s0(1, c1);