Skip to content

Commit

Permalink
Update one test I missed when updating for the opaque pointer gep cha…
Browse files Browse the repository at this point in the history
…nges to LLVM.

llvm-svn: 230792
  • Loading branch information
dwblaikie committed Feb 27, 2015
1 parent 400385c commit d7b6aa3
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions polly/test/Isl/CodeGen/non-affine-subregion-dominance-reuse.ll
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
; Check that we do not reuse the B[i-1] GEP created in block S again in
; block Q. Hence, we create two GEPs for B[i-1]:
;
; CHECK: %scevgep{{.}} = getelementptr i32* %B, i64 -1
; CHECK: %scevgep{{.}} = getelementptr i32* %B, i64 -1
; CHECK: %scevgep{{.}} = getelementptr i32, i32* %B, i64 -1
; CHECK: %scevgep{{.}} = getelementptr i32, i32* %B, i64 -1
;
; void f(int *A, int *B) {
; int x = 0;
Expand All @@ -29,7 +29,7 @@ bb1: ; preds = %bb22, %bb
br i1 %exitcond, label %bb2, label %bb23

bb2: ; preds = %bb1
%tmp = getelementptr inbounds i32* %A, i64 %indvars.iv
%tmp = getelementptr inbounds i32, i32* %A, i64 %indvars.iv
%tmp3 = load i32* %tmp, align 4
%tmp4 = icmp eq i32 %tmp3, 0
br i1 %tmp4, label %bb21, label %bb5
Expand All @@ -43,9 +43,9 @@ bb7: ; preds = %bb5

bb8: ; preds = %bb7
%tmp9 = add nsw i64 %indvars.iv, -1
%tmp10 = getelementptr inbounds i32* %B, i64 %tmp9
%tmp10 = getelementptr inbounds i32, i32* %B, i64 %tmp9
%tmp11 = load i32* %tmp10, align 4
%tmp12 = getelementptr inbounds i32* %A, i64 %indvars.iv
%tmp12 = getelementptr inbounds i32, i32* %A, i64 %indvars.iv
store i32 %tmp11, i32* %tmp12, align 4
br label %bb13

Expand All @@ -54,9 +54,9 @@ bb13: ; preds = %bb8, %bb5

bb14: ; preds = %bb13
%tmp15 = add nsw i64 %indvars.iv, -1
%tmp16 = getelementptr inbounds i32* %B, i64 %tmp15
%tmp16 = getelementptr inbounds i32, i32* %B, i64 %tmp15
%tmp17 = load i32* %tmp16, align 4
%tmp18 = getelementptr inbounds i32* %A, i64 %indvars.iv
%tmp18 = getelementptr inbounds i32, i32* %A, i64 %indvars.iv
%tmp19 = load i32* %tmp18, align 4
%tmp20 = add nsw i32 %tmp19, %tmp17
store i32 %tmp20, i32* %tmp18, align 4
Expand Down

0 comments on commit d7b6aa3

Please sign in to comment.