summaryrefslogtreecommitdiff
path: root/polly/test/ScopInfo/tempscop-printing.ll
diff options
context:
space:
mode:
Diffstat (limited to 'polly/test/ScopInfo/tempscop-printing.ll')
-rw-r--r--polly/test/ScopInfo/tempscop-printing.ll16
1 files changed, 8 insertions, 8 deletions
diff --git a/polly/test/ScopInfo/tempscop-printing.ll b/polly/test/ScopInfo/tempscop-printing.ll
index ea852e50b2b9..80c675d4c3d3 100644
--- a/polly/test/ScopInfo/tempscop-printing.ll
+++ b/polly/test/ScopInfo/tempscop-printing.ll
@@ -42,7 +42,7 @@
target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128"
-define void @f(i64* noalias %A, i64 %N, i64* noalias %init_ptr) nounwind {
+define void @f(ptr noalias %A, i64 %N, ptr noalias %init_ptr) nounwind {
entry:
br label %for.i
@@ -52,14 +52,14 @@ for.i:
br label %entry.next
entry.next:
- %init = load i64, i64* %init_ptr
+ %init = load i64, ptr %init_ptr
br label %for.j
for.j:
%indvar.j = phi i64 [ 0, %entry.next ], [ %indvar.j.next, %for.j ]
%init_plus_two = add i64 %init, 2
- %scevgep = getelementptr i64, i64* %A, i64 %indvar.j
- store i64 %init_plus_two, i64* %scevgep
+ %scevgep = getelementptr i64, ptr %A, i64 %indvar.j
+ store i64 %init_plus_two, ptr %scevgep
%indvar.j.next = add nsw i64 %indvar.j, 1
%exitcond.j = icmp eq i64 %indvar.j.next, %N
br i1 %exitcond.j, label %for.i.end, label %for.j
@@ -72,7 +72,7 @@ return:
ret void
}
-define void @g(i64* noalias %A, i64 %N, i64* noalias %init_ptr) nounwind {
+define void @g(ptr noalias %A, i64 %N, ptr noalias %init_ptr) nounwind {
entry:
br label %for.i
@@ -82,13 +82,13 @@ for.i:
br label %entry.next
entry.next:
- %init = load i64, i64* %init_ptr
+ %init = load i64, ptr %init_ptr
br label %for.j
for.j:
%indvar.j = phi i64 [ 0, %entry.next ], [ %indvar.j.next, %for.j ]
- %scevgep = getelementptr i64, i64* %A, i64 %indvar.j
- store i64 %init, i64* %scevgep
+ %scevgep = getelementptr i64, ptr %A, i64 %indvar.j
+ store i64 %init, ptr %scevgep
%indvar.j.next = add nsw i64 %indvar.j, 1
%exitcond.j = icmp eq i64 %indvar.j.next, %N
br i1 %exitcond.j, label %for.i.end, label %for.j