Promote GEP ubyte indices to uint. Backwards compatibility for 1.2 and
[oota-llvm.git] / test / Analysis / LoadVN / dependent_loads.ll
index 959628f4d63c1e3ae6368c7cbc3b44d3a83684f6..331ba2110e84c0c336f8e886e323ff60fab05ae6 100644 (file)
@@ -15,11 +15,11 @@ sbyte %test(sbyte** %P) {
 
 sbyte %test(%S ** %P) {
        %A = load %S** %P
-       %B = getelementptr %S* %A, int 0, ubyte 1
+       %B = getelementptr %S* %A, int 0, uint 1
        %C = load sbyte* %B
 
        %X = load %S** %P
-       %Y = getelementptr %S* %X, int 0, ubyte 1
+       %Y = getelementptr %S* %X, int 0, uint 1
        %Z = load sbyte* %Y
 
        %R = sub sbyte %C, %Z