Promote GEP ubyte indices to uint. Backwards compatibility for 1.2 and
[oota-llvm.git] / test / Transforms / LevelRaise / 2003-06-07-EmptyArrayTest.ll
index 0e9785ecd38570e7db7556ea89035abddfc1a32f..7a294ef46a516545a0f2f26ebf30874649d74fda 100644 (file)
@@ -3,7 +3,7 @@
 %T = type { [0 x ubyte] }
 
 void %test(%T* %tmp.22) {
-       %tmp.23 = getelementptr %T* %tmp.22, long 0, ubyte 0
+       %tmp.23 = getelementptr %T* %tmp.22, long 0, uint 0
        %tmp.24 = cast [0 x ubyte]* %tmp.23 to sbyte**
        %tmp.25 = load sbyte** %tmp.24
        ret void