summaryrefslogtreecommitdiff
path: root/polly/test/IstAstInfo/alias_simple_2.ll
diff options
context:
space:
mode:
Diffstat (limited to 'polly/test/IstAstInfo/alias_simple_2.ll')
-rw-r--r--polly/test/IstAstInfo/alias_simple_2.ll8
1 files changed, 4 insertions, 4 deletions
diff --git a/polly/test/IstAstInfo/alias_simple_2.ll b/polly/test/IstAstInfo/alias_simple_2.ll
index 7d6d65c6f22c..bbf528f93b47 100644
--- a/polly/test/IstAstInfo/alias_simple_2.ll
+++ b/polly/test/IstAstInfo/alias_simple_2.ll
@@ -35,10 +35,10 @@ for.body.preheader: ; preds = %entry
for.body: ; preds = %for.body.preheader, %for.body
%indvars.iv = phi i64 [ %indvars.iv.next, %for.body ], [ 0, %for.body.preheader ]
- %arrayidx = getelementptr inbounds [1024 x i32], [1024 x i32]* @B, i64 0, i64 %indvars.iv
- %tmp = load i32, i32* %arrayidx, align 4, !tbaa !5
- %arrayidx2 = getelementptr inbounds [1024 x i32], [1024 x i32]* @A, i64 0, i64 %indvars.iv
- store i32 %tmp, i32* %arrayidx2, align 4, !tbaa !5
+ %arrayidx = getelementptr inbounds [1024 x i32], ptr @B, i64 0, i64 %indvars.iv
+ %tmp = load i32, ptr %arrayidx, align 4, !tbaa !5
+ %arrayidx2 = getelementptr inbounds [1024 x i32], ptr @A, i64 0, i64 %indvars.iv
+ store i32 %tmp, ptr %arrayidx2, align 4, !tbaa !5
%indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
%lftr.wideiv1 = trunc i64 %indvars.iv.next to i32
%exitcond2 = icmp eq i32 %lftr.wideiv1, %N