summaryrefslogtreecommitdiff
path: root/polly/test/IstAstInfo/dependence_distance_constant.ll
diff options
context:
space:
mode:
Diffstat (limited to 'polly/test/IstAstInfo/dependence_distance_constant.ll')
-rw-r--r--polly/test/IstAstInfo/dependence_distance_constant.ll10
1 files changed, 5 insertions, 5 deletions
diff --git a/polly/test/IstAstInfo/dependence_distance_constant.ll b/polly/test/IstAstInfo/dependence_distance_constant.ll
index c78c7ae0a23c..8b0e4d267c14 100644
--- a/polly/test/IstAstInfo/dependence_distance_constant.ll
+++ b/polly/test/IstAstInfo/dependence_distance_constant.ll
@@ -13,7 +13,7 @@
;
target datalayout = "e-m:e-p:32:32-i64:64-v128:64:128-n32-S64"
-define void @f(i32* %A, i32 %N) {
+define void @f(ptr %A, i32 %N) {
entry:
br label %for.cond
@@ -31,12 +31,12 @@ for.cond1: ; preds = %for.inc, %for.body
br i1 %exitcond, label %for.body3, label %for.end
for.body3: ; preds = %for.cond1
- %arrayidx = getelementptr inbounds i32, i32* %A, i32 %i.0
- %tmp = load i32, i32* %arrayidx, align 4
+ %arrayidx = getelementptr inbounds i32, ptr %A, i32 %i.0
+ %tmp = load i32, ptr %arrayidx, align 4
%add = add nsw i32 %tmp, 1
%add4 = add nsw i32 %i.0, 8
- %arrayidx5 = getelementptr inbounds i32, i32* %A, i32 %add4
- store i32 %add, i32* %arrayidx5, align 4
+ %arrayidx5 = getelementptr inbounds i32, ptr %A, i32 %add4
+ store i32 %add, ptr %arrayidx5, align 4
br label %for.inc
for.inc: ; preds = %for.body3