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.
llvm-svn: 31896
diff --git a/llvm/test/Regression/Transforms/InstCombine/load.ll b/llvm/test/Regression/Transforms/InstCombine/load.ll
index b87e76e..6b3f4a6 100644
--- a/llvm/test/Regression/Transforms/InstCombine/load.ll
+++ b/llvm/test/Regression/Transforms/InstCombine/load.ll
@@ -15,20 +15,20 @@
}
float %test2() {
- %A = getelementptr [2 x { int, float}]* %Y, long 0, long 1, ubyte 1
+ %A = getelementptr [2 x { int, float}]* %Y, long 0, long 1, uint 1
%B = load float* %A
ret float %B
}
int %test3() {
- %A = getelementptr [2 x { int, float}]* %Y, long 0, long 0, ubyte 0
+ %A = getelementptr [2 x { int, float}]* %Y, long 0, long 0, uint 0
%B = load int* %A
ret int %B
}
int %test4() {
- %A = getelementptr [2 x { int, float}]* %Z, long 0, long 1, ubyte 0
+ %A = getelementptr [2 x { int, float}]* %Z, long 0, long 1, uint 0
%B = load int* %A
ret int %B
}