Update one test I missed when updating for the opaque pointer gep changes to LLVM.
authorDavid Blaikie <dblaikie@gmail.com>
Fri, 27 Feb 2015 20:43:19 +0000 (20:43 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Fri, 27 Feb 2015 20:43:19 +0000 (20:43 +0000)
llvm-svn: 230792

polly/test/Isl/CodeGen/non-affine-subregion-dominance-reuse.ll

index ac15398..03c9147 100644 (file)
@@ -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;
@@ -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
@@ -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
 
@@ -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