[opaque pointer type] Add textual IR support for explicit type parameter to getelemen...
[oota-llvm.git] / test / CodeGen / X86 / widen_arith-2.ll
index 1b81e9f889aafe7741ffe3d4f6752bbfa16d4981..fb775a5ad8d2c9cf17bc7a6df0b9102b9d14ac3b 100644 (file)
@@ -27,20 +27,20 @@ forcond:            ; preds = %forinc, %entry
 forbody:               ; preds = %forcond
        %tmp2 = load i32* %i            ; <i32> [#uses=1]
        %tmp3 = load i64** %dst_i.addr          ; <i64*> [#uses=1]
-       %arrayidx = getelementptr i64* %tmp3, i32 %tmp2         ; <i64*> [#uses=1]
+       %arrayidx = getelementptr i64, i64* %tmp3, i32 %tmp2            ; <i64*> [#uses=1]
        %conv = bitcast i64* %arrayidx to <8 x i8>*             ; <<8 x i8>*> [#uses=1]
        store <8 x i8>* %conv, <8 x i8>** %dst
        %tmp4 = load i32* %i            ; <i32> [#uses=1]
        %tmp5 = load i64** %src_i.addr          ; <i64*> [#uses=1]
-       %arrayidx6 = getelementptr i64* %tmp5, i32 %tmp4                ; <i64*> [#uses=1]
+       %arrayidx6 = getelementptr i64, i64* %tmp5, i32 %tmp4           ; <i64*> [#uses=1]
        %conv7 = bitcast i64* %arrayidx6 to <8 x i8>*           ; <<8 x i8>*> [#uses=1]
        store <8 x i8>* %conv7, <8 x i8>** %src
        %tmp8 = load i32* %i            ; <i32> [#uses=1]
        %tmp9 = load <8 x i8>** %dst            ; <<8 x i8>*> [#uses=1]
-       %arrayidx10 = getelementptr <8 x i8>* %tmp9, i32 %tmp8          ; <<8 x i8>*> [#uses=1]
+       %arrayidx10 = getelementptr <8 x i8>, <8 x i8>* %tmp9, i32 %tmp8                ; <<8 x i8>*> [#uses=1]
        %tmp11 = load i32* %i           ; <i32> [#uses=1]
        %tmp12 = load <8 x i8>** %src           ; <<8 x i8>*> [#uses=1]
-       %arrayidx13 = getelementptr <8 x i8>* %tmp12, i32 %tmp11                ; <<8 x i8>*> [#uses=1]
+       %arrayidx13 = getelementptr <8 x i8>, <8 x i8>* %tmp12, i32 %tmp11              ; <<8 x i8>*> [#uses=1]
        %tmp14 = load <8 x i8>* %arrayidx13             ; <<8 x i8>> [#uses=1]
        %add = add <8 x i8> %tmp14, < i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1 >          ; <<8 x i8>> [#uses=1]
        %and = and <8 x i8> %add, < i8 4, i8 4, i8 4, i8 4, i8 4, i8 4, i8 4, i8 4 >            ; <<8 x i8>> [#uses=1]