Files
clang-p2996/polly/lib/External/isl/test_inputs/codegen/isolate7.c
Michael Kruse a54eb9b7c5 [Polly] Update isl to isl-0.22.1-416-g61d6dc75.
This fixes llvm.org/PR47104
2020-08-21 00:28:44 -05:00

28 lines
764 B
C

for (int c0 = 0; c0 < n - 31; c0 += 32)
for (int c1 = 0; c1 <= n; c1 += 32) {
if (n >= c1 + 32) {
for (int c2 = 0; c2 <= 31; c2 += 1)
for (int c3 = 0; c3 <= 31; c3 += 1)
S_1(c0 + c2, c1 + c3);
} else {
for (int c2 = 0; c2 <= 31; c2 += 1) {
for (int c3 = 0; c3 < n - c1; c3 += 1)
S_1(c0 + c2, c1 + c3);
S_2(c0 + c2);
}
}
}
for (int c1 = 0; c1 < n; c1 += 32) {
if (n >= c1 + 32) {
for (int c2 = 0; c2 < (n + 32) % 32; c2 += 1)
for (int c3 = 0; c3 <= 31; c3 += 1)
S_1(-((n + 32) % 32) + n + c2, c1 + c3);
} else {
for (int c2 = 0; c2 < n - c1; c2 += 1) {
for (int c3 = 0; c3 < n - c1; c3 += 1)
S_1(c1 + c2, c1 + c3);
S_2(c1 + c2);
}
}
}