[opaque pointer type] Add textual IR support for explicit type parameter to getelemen...
[oota-llvm.git] / test / Transforms / StructurizeCFG / post-order-traversal-bug.ll
index 740b3d16801519ea9e35f67d486fadc773aea11d..8aed08b6e8d88248f29b605092c5e59dd1d81d47 100644 (file)
@@ -28,10 +28,10 @@ for.body:                                         ; preds = %for.body.backedge,
 ; CHECK: lor.lhs.false:
 ; CHECK: br label %Flow
 lor.lhs.false:                                    ; preds = %for.body
-  %arrayidx = getelementptr inbounds float* %nr, i64 %indvars.iv
+  %arrayidx = getelementptr inbounds float, float* %nr, i64 %indvars.iv
   %tmp1 = load float* %arrayidx, align 4
   %tmp2 = add nsw i64 %indvars.iv, -1
-  %arrayidx2 = getelementptr inbounds float* %nr, i64 %tmp2
+  %arrayidx2 = getelementptr inbounds float, float* %nr, i64 %tmp2
   %tmp3 = load float* %arrayidx2, align 4
   %cmp3 = fcmp une float %tmp1, %tmp3
   br i1 %cmp3, label %if.then, label %for.body.1
@@ -44,7 +44,7 @@ lor.lhs.false:                                    ; preds = %for.body
 if.then:                                          ; preds = %lor.lhs.false, %for.body
   %sub4 = sub nsw i32 %tmp0, %prev_start.026
   %tmp4 = add nsw i64 %indvars.iv, -1
-  %arrayidx8 = getelementptr inbounds float* %nr, i64 %tmp4
+  %arrayidx8 = getelementptr inbounds float, float* %nr, i64 %tmp4
   %tmp5 = load float* %arrayidx8, align 4
   br i1 %cmp1, label %for.end, label %for.body.1
 
@@ -83,7 +83,7 @@ for.body.6:                                       ; preds = %for.body.1
 ; CHECK: if.then6.6
 ; CHECK: br label %for.body.backedge
 if.then6.6:                                       ; preds = %for.body.6
-  %arrayidx8.6 = getelementptr inbounds float* %nr, i64 %indvars.iv.next.454
+  %arrayidx8.6 = getelementptr inbounds float, float* %nr, i64 %indvars.iv.next.454
   %tmp29 = load float* %arrayidx8.6, align 4
   br label %for.body.backedge