[opaque pointer type] Add textual IR support for explicit type parameter to getelemen...
[oota-llvm.git] / test / CodeGen / X86 / pr2849.ll
index 0fec4813e1096739734222c148a6aeabde595ebd..c46f660515d4dfde8603a11f041bc963acad5d46 100644 (file)
@@ -22,15 +22,15 @@ xlygetvalue.exit:
        %tmp1 = ptrtoint %struct.NODE** %storemerge.in.i to i64
        %tmp2 = lshr i64 %tmp1, 3
        %tmp3 = and i64 %tmp2, 2147483647
-       %tmp4 = getelementptr %struct.HashEntry* %tmp, i64 %tmp3, i32 0, i32 1
+       %tmp4 = getelementptr %struct.HashEntry, %struct.HashEntry* %tmp, i64 %tmp3, i32 0, i32 1
        %tmp7 = load i8** %tmp4, align 8
-       %tmp8 = getelementptr %struct.NODE* %storemerge.i, i64 0, i32 2
+       %tmp8 = getelementptr %struct.NODE, %struct.NODE* %storemerge.i, i64 0, i32 2
        %tmp9 = bitcast %struct.anon* %tmp8 to %struct.NODE***
        %tmp11 = load %struct.NODE*** %tmp9, align 8
        %tmp12 = ptrtoint %struct.NODE** %tmp11 to i64
        %tmp13 = lshr i64 %tmp12, 3
        %tmp14 = and i64 %tmp13, 2147483647
-       %tmp15 = getelementptr %struct.HashEntry* %tmp, i64 %tmp14, i32 0, i32 1
+       %tmp15 = getelementptr %struct.HashEntry, %struct.HashEntry* %tmp, i64 %tmp14, i32 0, i32 1
        call fastcc void @xlprint(i8** %tmp4, i8* %tmp7, i8** %tmp15)
        ret void
 }