Promote GEP ubyte indices to uint. Backwards compatibility for 1.2 and
[oota-llvm.git] / test / Transforms / InstCombine / 2002-09-17-GetElementPtrCrash.ll
index c632ac141344b6addac68beaf1297bb8693316a2..db2b504339fa1820721673d431e939f109fbee87 100644 (file)
@@ -5,7 +5,7 @@
 int %alias() {
     %pbob1 = alloca %bob
     %pbob2 = getelementptr %bob* %pbob1
-    %pbobel = getelementptr %bob* %pbob2, long 0, ubyte 0
+    %pbobel = getelementptr %bob* %pbob2, long 0, uint 0
     %rval = load int* %pbobel
     ret int %rval
 }