summaryrefslogtreecommitdiffstats
path: root/polly/lib/External/isl/test_inputs/codegen/cloog/reservoir-lim-lam1.c
diff options
context:
space:
mode:
Diffstat (limited to 'polly/lib/External/isl/test_inputs/codegen/cloog/reservoir-lim-lam1.c')
-rw-r--r--polly/lib/External/isl/test_inputs/codegen/cloog/reservoir-lim-lam1.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/polly/lib/External/isl/test_inputs/codegen/cloog/reservoir-lim-lam1.c b/polly/lib/External/isl/test_inputs/codegen/cloog/reservoir-lim-lam1.c
index d8a80d66363..38277076411 100644
--- a/polly/lib/External/isl/test_inputs/codegen/cloog/reservoir-lim-lam1.c
+++ b/polly/lib/External/isl/test_inputs/codegen/cloog/reservoir-lim-lam1.c
@@ -1,10 +1,10 @@
-for (int c1 = -99; c1 <= 100; c1 += 1) {
- if (c1 <= 0)
- S1(1, -c1 + 1);
- for (int c3 = max(1, -2 * c1 + 3); c3 <= min(199, -2 * c1 + 199); c3 += 2) {
- S2(((c3 - 1) / 2) + c1, (c3 + 1) / 2);
- S1(((c3 + 1) / 2) + c1, (c3 + 1) / 2);
+for (int c0 = -99; c0 <= 100; c0 += 1) {
+ if (c0 >= 1)
+ S2(c0, 1);
+ for (int c1 = max(1, -c0 + 1); c1 <= min(99, -c0 + 100); c1 += 1) {
+ S1(c0 + c1, c1);
+ S2(c0 + c1, c1 + 1);
}
- if (c1 >= 1)
- S2(100, -c1 + 101);
+ if (c0 <= 0)
+ S1(c0 + 100, 100);
}
OpenPOWER on IntegriCloud