summaryrefslogtreecommitdiffstats
path: root/polly/lib/External/isl/test_inputs/codegen/isolate5.c
diff options
context:
space:
mode:
Diffstat (limited to 'polly/lib/External/isl/test_inputs/codegen/isolate5.c')
-rw-r--r--polly/lib/External/isl/test_inputs/codegen/isolate5.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/polly/lib/External/isl/test_inputs/codegen/isolate5.c b/polly/lib/External/isl/test_inputs/codegen/isolate5.c
index 53d4300c563..0f1588d8e73 100644
--- a/polly/lib/External/isl/test_inputs/codegen/isolate5.c
+++ b/polly/lib/External/isl/test_inputs/codegen/isolate5.c
@@ -1,29 +1,29 @@
{
for (int c0 = 0; c0 <= 9; c0 += 1) {
- if (c0 % 2 == 0) {
+ if ((c0 + 1) % 2 == 0) {
for (int c1 = 0; c1 <= 1; c1 += 1)
- A(c0 / 2, c1);
+ B((c0 - 1) / 2, c1);
} else {
for (int c1 = 0; c1 <= 1; c1 += 1)
- B((c0 - 1) / 2, c1);
+ A(c0 / 2, c1);
}
}
for (int c0 = 10; c0 <= 89; c0 += 1) {
- if (c0 % 2 == 0) {
+ if ((c0 + 1) % 2 == 0) {
for (int c1 = 0; c1 <= 1; c1 += 1)
- A(c0 / 2, c1);
+ B((c0 - 1) / 2, c1);
} else {
for (int c1 = 0; c1 <= 1; c1 += 1)
- B((c0 - 1) / 2, c1);
+ A(c0 / 2, c1);
}
}
for (int c0 = 90; c0 <= 199; c0 += 1) {
- if (c0 % 2 == 0) {
+ if ((c0 + 1) % 2 == 0) {
for (int c1 = 0; c1 <= 1; c1 += 1)
- A(c0 / 2, c1);
+ B((c0 - 1) / 2, c1);
} else {
for (int c1 = 0; c1 <= 1; c1 += 1)
- B((c0 - 1) / 2, c1);
+ A(c0 / 2, c1);
}
}
}
OpenPOWER on IntegriCloud