summaryrefslogtreecommitdiff
path: root/polly/test/ScopInfo/stmt_split_on_store.ll
diff options
context:
space:
mode:
Diffstat (limited to 'polly/test/ScopInfo/stmt_split_on_store.ll')
-rw-r--r--polly/test/ScopInfo/stmt_split_on_store.ll14
1 files changed, 7 insertions, 7 deletions
diff --git a/polly/test/ScopInfo/stmt_split_on_store.ll b/polly/test/ScopInfo/stmt_split_on_store.ll
index 57a8bd6e730b..6af3dc8633dd 100644
--- a/polly/test/ScopInfo/stmt_split_on_store.ll
+++ b/polly/test/ScopInfo/stmt_split_on_store.ll
@@ -17,7 +17,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 :=
@@ -27,12 +27,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) #0 {
+define void @func(ptr %A, ptr %B) #0 {
entry:
br label %for.cond
@@ -46,11 +46,11 @@ for.body: ; preds = %for.cond
Stmt: ; preds = %for.body
%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
- %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