Promote GEP ubyte indices to uint. Backwards compatibility for 1.2 and
[oota-llvm.git] / test / Transforms / DSAnalysis / structpadding.ll
index 2d6c2e33b461e8da48e120b4f591086164f9f910..f776b5c8e08f32146947bec6f3305d1d98122317 100644 (file)
@@ -5,10 +5,10 @@
 implementation
 
 void %bar(%str* %S, %str* %T) {
-       %A1 = getelementptr %str* %S, long 0, ubyte 0
-       %B1 = getelementptr %str* %S, long 0, ubyte 1
-       %A2 = getelementptr %str* %S, long 0, ubyte 0
-       %B2 = getelementptr %str* %S, long 0, ubyte 1
+       %A1 = getelementptr %str* %S, long 0, uint 0
+       %B1 = getelementptr %str* %S, long 0, uint 1
+       %A2 = getelementptr %str* %S, long 0, uint 0
+       %B2 = getelementptr %str* %S, long 0, uint 1
        %a1 = cast int* %A1 to long*
        %a2 = cast int* %A2 to long*
        %V = load long* %a1