summaryrefslogtreecommitdiffstats
path: root/polly/test/ScopInfo/integers.ll
diff options
context:
space:
mode:
Diffstat (limited to 'polly/test/ScopInfo/integers.ll')
-rw-r--r--polly/test/ScopInfo/integers.ll20
1 files changed, 18 insertions, 2 deletions
diff --git a/polly/test/ScopInfo/integers.ll b/polly/test/ScopInfo/integers.ll
index 70391ba98b8..1a9db4609eb 100644
--- a/polly/test/ScopInfo/integers.ll
+++ b/polly/test/ScopInfo/integers.ll
@@ -111,8 +111,24 @@ bb:
store i3 %indvar, i3* %scevgep, align 8
%indvar.next = add nsw i3 %indvar, 1
%sub = sub i3 %n, 3
-; CHECK: 'bb => return' in function 'f6'
-; CHECK: [n] -> { Stmt_bb[0] : n = 3 };
+; CHECK-LABEL: 'bb => return' in function 'f6'
+; CHECK: Context:
+; CHECK-NEXT: [n] -> { : -4 <= n <= 3 }
+; CHECK-NEXT: Assumed Context:
+; CHECK-NEXT: [n] -> { : }
+; CHECK-NEXT: Invalid Context:
+; CHECK-NEXT: [n] -> { : 1 = 0 }
+
+; CHECK: Statements {
+; CHECK-NEXT: Stmt_bb
+; CHECK-NEXT: Domain :=
+; CHECK-NEXT: [n] -> { Stmt_bb[i0] : i0 >= 0 and 8*floor((2 - n)/8) >= -5 - n + i0 and 8*floor((2 - n)/8) <= -2 - n };
+; CHECK-NEXT: Schedule :=
+; CHECK-NEXT: [n] -> { Stmt_bb[i0] -> [i0] };
+; CHECK-NEXT: MustWriteAccess := [Reduction Type: NONE] [Scalar: 0]
+; CHECK-NEXT: [n] -> { Stmt_bb[i0] -> MemRef_a[i0] };
+; CHECK-NEXT:}
+
%exitcond = icmp eq i3 %indvar, %sub
br i1 %exitcond, label %return, label %bb
OpenPOWER on IntegriCloud