isl_ast_build_ast_from_schedule: use "<" if upper bound has negative constant
[isl.git] / test_inputs / codegen / cloog / reservoir-pingali1.c
blob7268c23d080927234afe04b7353b59365b1f76bc
1 for (int c1 = 1; c1 <= M; c1 += 1)
2 for (int c3 = 1; c3 < 2 * N; c3 += 1) {
3 for (int c5 = max(1, -N + c3); c5 < (c3 + 1) / 2; c5 += 1)
4 S1(c1, c3 - c5, c5);
5 if ((c3 - 1) % 2 == 0)
6 S2(c1, (c3 + 1) / 2);