[opaque pointer type] Add textual IR support for explicit type parameter to getelemen...
[oota-llvm.git] / test / tools / gold / slp-vectorize.ll
index d39aa768364ce2d41c18a2e5020acec616fd8765..242f255d3118947a9ccf5b24754c5b885b63ce88 100644 (file)
@@ -14,15 +14,15 @@ define void @f(float* nocapture %x) {
   %tmp = load float* %x, align 4
   %add = fadd float %tmp, 1.000000e+00
   store float %add, float* %x, align 4
-  %arrayidx1 = getelementptr inbounds float* %x, i64 1
+  %arrayidx1 = getelementptr inbounds float, float* %x, i64 1
   %tmp1 = load float* %arrayidx1, align 4
   %add2 = fadd float %tmp1, 1.000000e+00
   store float %add2, float* %arrayidx1, align 4
-  %arrayidx3 = getelementptr inbounds float* %x, i64 2
+  %arrayidx3 = getelementptr inbounds float, float* %x, i64 2
   %tmp2 = load float* %arrayidx3, align 4
   %add4 = fadd float %tmp2, 1.000000e+00
   store float %add4, float* %arrayidx3, align 4
-  %arrayidx5 = getelementptr inbounds float* %x, i64 3
+  %arrayidx5 = getelementptr inbounds float, float* %x, i64 3
   %tmp3 = load float* %arrayidx5, align 4
   %add6 = fadd float %tmp3, 1.000000e+00
   store float %add6, float* %arrayidx5, align 4