isl_ast_build_ast_from_schedule: sort lower and upper bounds of for loops
[isl.git] / test_inputs / codegen / cloog / reservoir-lim-lam4.c
blob6a0b0badab63eff4129997b4fefbbf6cad61b9f5
1 for (int c1 = 1; c1 < 2 * M - 1; c1 += 1) {
2 for (int c3 = max(-M + 1, -c1 + 1); c3 < 0; c3 += 1) {
3 for (int c7 = max(1, -M + c1 + 1); c7 <= min(M - 1, c1 + c3); c7 += 1)
4 S1(c7, c1 + c3 - c7, -c3);
5 for (int c5 = max(-M + c1 + 1, -c3); c5 < min(M, c1); c5 += 1)
6 S2(c1 - c5, c3 + c5, c5);
8 for (int c7 = max(1, -M + c1 + 1); c7 <= min(M - 1, c1); c7 += 1)
9 S1(c7, c1 - c7, 0);