summaryrefslogtreecommitdiffstats
path: root/polly/lib/External/isl/test_inputs/codegen/isolate2.c
diff options
context:
space:
mode:
authorTobias Grosser <tobias@grosser.es>2015-07-02 07:59:21 +0000
committerTobias Grosser <tobias@grosser.es>2015-07-02 07:59:21 +0000
commit6c78048b769459731339bd33e0ef704910818e2f (patch)
tree12efe2587253e9dcf3d8498635c0fe763d962b9f /polly/lib/External/isl/test_inputs/codegen/isolate2.c
parentf519a288d5a34d6f2fd878e2a47b08d2fbe22c0d (diff)
downloadbcm5719-llvm-6c78048b769459731339bd33e0ef704910818e2f.tar.gz
bcm5719-llvm-6c78048b769459731339bd33e0ef704910818e2f.zip
Update isl to isl-0.15-35-ga1e44f0
This fixes a memory leak with in the sioimath backend. llvm-svn: 241247
Diffstat (limited to 'polly/lib/External/isl/test_inputs/codegen/isolate2.c')
-rw-r--r--polly/lib/External/isl/test_inputs/codegen/isolate2.c14
1 files changed, 8 insertions, 6 deletions
diff --git a/polly/lib/External/isl/test_inputs/codegen/isolate2.c b/polly/lib/External/isl/test_inputs/codegen/isolate2.c
index 2c9e15d0dd5..fda80332719 100644
--- a/polly/lib/External/isl/test_inputs/codegen/isolate2.c
+++ b/polly/lib/External/isl/test_inputs/codegen/isolate2.c
@@ -2,10 +2,12 @@ for (int c0 = 0; c0 <= 99; c0 += 1) {
if (c0 >= 4 && c0 <= 6) {
for (int c1 = 0; c1 <= 99; c1 += 1)
A(c0, c1);
- } else if (c0 >= 7) {
- for (int c1 = 0; c1 <= 99; c1 += 1)
- A(c0, c1);
- } else
- for (int c1 = 0; c1 <= 99; c1 += 1)
- A(c0, c1);
+ } else if (c0 >= 7 || c0 <= 3) {
+ if (c0 >= 7) {
+ for (int c1 = 0; c1 <= 99; c1 += 1)
+ A(c0, c1);
+ } else
+ for (int c1 = 0; c1 <= 99; c1 += 1)
+ A(c0, c1);
+ }
}
OpenPOWER on IntegriCloud