isl_ast_build_ast_from_schedule: use "<" if upper bound has negative constant
[isl.git] / test_inputs / codegen / cloog / thomasset.c
blobc711dc2e67d9df0a9194054fdfcb2f10bcf2bf0a
2 for (int c0 = 0; c0 <= floord(n - 1, 3); c0 += 1)
3 for (int c2 = 3 * c0 + 1; c2 <= min(n, 3 * c0 + 3); c2 += 1)
4 S1(c2, c0);
5 for (int c0 = floord(n, 3); c0 <= floord(n, 3) + floord(n, 3); c0 += 1)
6 for (int c1 = 0; c1 < n; c1 += 1)
7 for (int c3 = max(-n + 3 * c0, 1); c3 <= min(-n + 3 * c0 + 4, n); c3 += 1)
8 if (((3 * c0 - c3 + 2) % 3) + n + c3 >= 3 * c0 + 2 && 3 * c0 + 4 >= ((3 * c0 - c3 + 2) % 3) + n + c3)
9 S2(c1 + 1, c3, 0, n / 3, c0 - n / 3);