summaryrefslogtreecommitdiffstats
path: root/polly/lib/External/isl/test_inputs/codegen/omega/wak3-0.c
diff options
context:
space:
mode:
Diffstat (limited to 'polly/lib/External/isl/test_inputs/codegen/omega/wak3-0.c')
-rw-r--r--polly/lib/External/isl/test_inputs/codegen/omega/wak3-0.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/polly/lib/External/isl/test_inputs/codegen/omega/wak3-0.c b/polly/lib/External/isl/test_inputs/codegen/omega/wak3-0.c
new file mode 100644
index 00000000000..06be04aae78
--- /dev/null
+++ b/polly/lib/External/isl/test_inputs/codegen/omega/wak3-0.c
@@ -0,0 +1,8 @@
+for (int c0 = a; c0 <= b + 20; c0 += 1) {
+ if (b >= c0)
+ s0(c0);
+ if (c0 >= a + 10 && b + 10 >= c0)
+ s1(c0);
+ if (c0 >= a + 20)
+ s2(c0);
+}
OpenPOWER on IntegriCloud