diff options
Diffstat (limited to 'polly/lib/External/isl/test_inputs/codegen/unroll4.c')
-rw-r--r-- | polly/lib/External/isl/test_inputs/codegen/unroll4.c | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/polly/lib/External/isl/test_inputs/codegen/unroll4.c b/polly/lib/External/isl/test_inputs/codegen/unroll4.c new file mode 100644 index 00000000000..8e2ac05ca97 --- /dev/null +++ b/polly/lib/External/isl/test_inputs/codegen/unroll4.c @@ -0,0 +1,22 @@ +{ + write_shared_A(3, ((t1 + 3) % 4) + 1, ((t2 + 31) % 32) + 1); + if (t2 >= 1 && t2 <= 2 && t1 % 3 == 0) + write_shared_A(3, (-t1 / 3) + 4, t2 + 32); + { + int c3 = t2 >= 2 && ((t1 + 3) % 4) + 1 >= t2 ? t2 + 32 : ((t2 + 30) % 32) + 2; + if (c3 == t2 + 32 || (c3 == t2 && t2 >= ((t1 + 3) % 4) + ((t2 - 1) % 2) + 2)) + write_shared_A(3, ((t1 + 3) % 4) + 5, c3); + } + if (t1 >= 1 && t2 >= t1 + 1 && t2 <= 4) + write_shared_A(3, t1 + 4, t2 + 32); + write_shared_A(4, ((t1 + 3) % 4) + 1, ((t2 + 31) % 32) + 1); + if (t2 >= 1 && t2 <= 2 && t1 % 3 == 0) + write_shared_A(4, (-t1 / 3) + 4, t2 + 32); + { + int c3 = t2 >= 2 && ((t1 + 3) % 4) + 1 >= t2 ? t2 + 32 : ((t2 + 30) % 32) + 2; + if (c3 == t2 + 32 || (c3 == t2 && t2 >= ((t1 + 3) % 4) + ((t2 - 1) % 2) + 2)) + write_shared_A(4, ((t1 + 3) % 4) + 5, c3); + } + if (t1 >= 1 && t2 >= t1 + 1 && t2 <= 4) + write_shared_A(4, t1 + 4, t2 + 32); +} |