Promote GEP ubyte indices to uint. Backwards compatibility for 1.2 and
[oota-llvm.git] / test / Transforms / LevelRaise / 2003-06-25-ExprAnalysis.ll
index 998f49719eb312c7c236bb0250b27d123a612d0e..131ade06a1dfab15f9f44219a38c779e10a7510e 100644 (file)
@@ -9,7 +9,7 @@ target pointersize = 64
 
 implementation   ; Functions:
 bool %Intersection(%struct..istack_struct* %tmp.0, uint %tmp.12) {              ; No predecessors!
-        %tmp.8 = getelementptr %struct..istack_struct* %tmp.0, long 0, ubyte 1          ; <%struct..istk_entry**> [#uses=1]
+        %tmp.8 = getelementptr %struct..istack_struct* %tmp.0, long 0, uint 1          ; <%struct..istk_entry**> [#uses=1]
         %tmp.9 = load %struct..istk_entry** %tmp.8              ; <%struct..istk_entry*> [#uses=1]
         %dec = sub uint %tmp.12, 1              ; <uint> [#uses=1]
         %tmp.13 = cast uint %dec to ulong               ; <ulong> [#uses=1]