[opaque pointer type] Add textual IR support for explicit type parameter to getelemen...
[oota-llvm.git] / test / CodeGen / X86 / widen_cast-1.ll
index e0b861f29de8208b9d2eaf45dc452dedbdb8311a..206d5a40a9a978cd3139c3dbbeff42e4233f9b22 100644 (file)
@@ -30,10 +30,10 @@ forcond:            ; preds = %forinc, %entry
 forbody:               ; preds = %forcond
        %tmp1 = load i32* %i            ; <i32> [#uses=1]
        %tmp2 = load <2 x i32>** %dst.addr              ; <<2 x i32>*> [#uses=1]
-       %arrayidx = getelementptr <2 x i32>* %tmp2, i32 %tmp1           ; <<2 x i32>*> [#uses=1]
+       %arrayidx = getelementptr <2 x i32>, <2 x i32>* %tmp2, i32 %tmp1                ; <<2 x i32>*> [#uses=1]
        %tmp3 = load i32* %i            ; <i32> [#uses=1]
        %tmp4 = load <4 x i16>** %src.addr              ; <<4 x i16>*> [#uses=1]
-       %arrayidx5 = getelementptr <4 x i16>* %tmp4, i32 %tmp3          ; <<4 x i16>*> [#uses=1]
+       %arrayidx5 = getelementptr <4 x i16>, <4 x i16>* %tmp4, i32 %tmp3               ; <<4 x i16>*> [#uses=1]
        %tmp6 = load <4 x i16>* %arrayidx5              ; <<4 x i16>> [#uses=1]
        %add = add <4 x i16> %tmp6, < i16 1, i16 1, i16 1, i16 1 >              ; <<4 x i16>> [#uses=1]
        %conv = bitcast <4 x i16> %add to <2 x i32>             ; <<2 x i32>> [#uses=1]