Promote GEP ubyte indices to uint. Backwards compatibility for 1.2 and
older features will be dropped soon and these test cases must not rely
on the upgrade capability.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31896 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/Feature/globalvars.ll b/test/Feature/globalvars.ll
index 0b20c1b..b500162 100644
--- a/test/Feature/globalvars.ll
+++ b/test/Feature/globalvars.ll
@@ -19,7 +19,7 @@
 int "foo"(int %blah)
 begin
 	store int 5, int *%MyVar
-	%idx = getelementptr { \2 *, int } * %MyIntList, long 0, ubyte 1
+	%idx = getelementptr { \2 *, int } * %MyIntList, long 0, uint 1
   	store int 12, int* %idx
   	ret int %blah
 end