summaryrefslogtreecommitdiff
path: root/polly/test/ScopInfo/stmt_split_on_synthesizable.ll
diff options
context:
space:
mode:
Diffstat (limited to 'polly/test/ScopInfo/stmt_split_on_synthesizable.ll')
-rw-r--r--polly/test/ScopInfo/stmt_split_on_synthesizable.ll14
1 files changed, 7 insertions, 7 deletions
diff --git a/polly/test/ScopInfo/stmt_split_on_synthesizable.ll b/polly/test/ScopInfo/stmt_split_on_synthesizable.ll
index 46b15db59703..92855cfd0124 100644
--- a/polly/test/ScopInfo/stmt_split_on_synthesizable.ll
+++ b/polly/test/ScopInfo/stmt_split_on_synthesizable.ll
@@ -9,7 +9,7 @@
; CHECK-NEXT: MustWriteAccess := [Reduction Type: NONE] [Scalar: 0]
; CHECK-NEXT: { Stmt_Stmt[i0] -> MemRef_A[i0] };
; CHECK-NEXT: Instructions {
-; CHECK-NEXT: store i32 %i.0, i32* %arrayidx, align 4
+; CHECK-NEXT: store i32 %i.0, ptr %arrayidx, align 4
; CHECK-NEXT: }
; CHECK-NEXT: Stmt_Stmt_b
; CHECK-NEXT: Domain :=
@@ -19,12 +19,12 @@
; CHECK-NEXT: MustWriteAccess := [Reduction Type: NONE] [Scalar: 0]
; CHECK-NEXT: { Stmt_Stmt_b[i0] -> MemRef_B[i0] };
; CHECK-NEXT: Instructions {
-; CHECK-NEXT: store i32 %i.0, i32* %arrayidx2, align 4
+; CHECK-NEXT: store i32 %i.0, ptr %arrayidx2, align 4
; CHECK-NEXT: }
; CHECK-NEXT: }
;
; Function Attrs: noinline nounwind uwtable
-define void @func(i32* %A, i32* %B, double* %C) #0 {
+define void @func(ptr %A, ptr %B, ptr %C) #0 {
entry:
br label %for.cond
@@ -38,11 +38,11 @@ for.body: ; preds = %for.cond
Stmt:
%idxprom = sext i32 %i.0 to i64
- %arrayidx = getelementptr inbounds i32, i32* %A, i64 %idxprom
- store i32 %i.0, i32* %arrayidx, align 4
+ %arrayidx = getelementptr inbounds i32, ptr %A, i64 %idxprom
+ store i32 %i.0, ptr %arrayidx, align 4
%idxprom1 = sext i32 %i.0 to i64, !polly_split_after !0
- %arrayidx2 = getelementptr inbounds i32, i32* %B, i64 %idxprom1
- store i32 %i.0, i32* %arrayidx2, align 4
+ %arrayidx2 = getelementptr inbounds i32, ptr %B, i64 %idxprom1
+ store i32 %i.0, ptr %arrayidx2, align 4
br label %for.inc
for.inc: ; preds = %Stmt