[polly] r230792 - Update one test I missed when updating for the opaque pointer gep changes to LLVM.

David Blaikie dblaikie at gmail.com
Fri Feb 27 12:43:19 PST 2015


Author: dblaikie
Date: Fri Feb 27 14:43:19 2015
New Revision: 230792

URL: http://llvm.org/viewvc/llvm-project?rev=230792&view=rev
Log:
Update one test I missed when updating for the opaque pointer gep changes to LLVM.

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

Modified: polly/trunk/test/Isl/CodeGen/non-affine-subregion-dominance-reuse.ll
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/Isl/CodeGen/non-affine-subregion-dominance-reuse.ll?rev=230792&r1=230791&r2=230792&view=diff
==============================================================================
--- polly/trunk/test/Isl/CodeGen/non-affine-subregion-dominance-reuse.ll (original)
+++ polly/trunk/test/Isl/CodeGen/non-affine-subregion-dominance-reuse.ll Fri Feb 27 14:43:19 2015
@@ -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:
   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:
 
 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:
 
 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





More information about the llvm-commits mailing list