summaryrefslogtreecommitdiffstats
path: root/polly/lib/External/isl/test_inputs/codegen/omega/stride7-0.c
diff options
context:
space:
mode:
Diffstat (limited to 'polly/lib/External/isl/test_inputs/codegen/omega/stride7-0.c')
-rw-r--r--polly/lib/External/isl/test_inputs/codegen/omega/stride7-0.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/polly/lib/External/isl/test_inputs/codegen/omega/stride7-0.c b/polly/lib/External/isl/test_inputs/codegen/omega/stride7-0.c
new file mode 100644
index 00000000000..7fe17588f3d
--- /dev/null
+++ b/polly/lib/External/isl/test_inputs/codegen/omega/stride7-0.c
@@ -0,0 +1,14 @@
+for (int c0 = 1; c0 <= 36; c0 += 1) {
+ if (c0 <= 3) {
+ for (int c1 = 1; c1 <= 9; c1 += 1)
+ s1(c1, c0);
+ } else if (c0 <= 9) {
+ for (int c1 = 1; c1 <= 9; c1 += 1) {
+ if (c0 % 4 == 0)
+ s0(c1, c0 / 4);
+ s1(c1, c0);
+ }
+ } else if (c0 % 4 == 0)
+ for (int c1 = 1; c1 <= 9; c1 += 1)
+ s0(c1, c0 / 4);
+}
OpenPOWER on IntegriCloud