1 ; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 &&
2 ; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 | not grep or
4 %struct.foo = type { int, int, [0 x ubyte] }
5 int %test(%struct.foo* %X) {
6 %tmp1 = getelementptr %struct.foo* %X, int 0, uint 2, int 100
7 %tmp = load ubyte* %tmp1 ; <ubyte> [#uses=1]
8 %tmp2 = cast ubyte %tmp to int ; <int> [#uses=1]