[opaque pointer type] Add textual IR support for explicit type parameter to getelemen...
[oota-llvm.git] / test / Transforms / LoopVectorize / PowerPC / small-loop-rdx.ll
index 25e7d2463bff551df3ed9e5e5802f53a4e77f608..bc043475a64f1b8c9691e2b7a61d64f1284f8dff 100644 (file)
@@ -29,7 +29,7 @@ for.body.lr.ph:                                   ; preds = %entry
 for.body:                                         ; preds = %for.body, %for.body.lr.ph
   %indvars.iv = phi i64 [ 0, %for.body.lr.ph ], [ %indvars.iv.next, %for.body ]
   %redx.05 = phi double [ 0.000000e+00, %for.body.lr.ph ], [ %add, %for.body ]
-  %arrayidx = getelementptr inbounds double* %arr, i64 %indvars.iv
+  %arrayidx = getelementptr inbounds double, double* %arr, i64 %indvars.iv
   %1 = load double* %arrayidx, align 8
   %add = fadd fast double %1, %redx.05
   %indvars.iv.next = add i64 %indvars.iv, 1