Use the llvm-upgrade program to upgrade llvm assembly.
[oota-llvm.git] / test / CodeGen / CBackend / 2003-10-28-CastToPtrToStruct.ll
index ae0679ea41350b7e504b442946cb657976d104e8..4c7ab32f9fc40aaa10b0f1610a2aba8a3c3cf8e7 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | llc -march=c
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=c
 
 ; reduced from DOOM.
 %union._XEvent = type { int }
@@ -7,6 +7,6 @@
 implementation   ; Functions:
 void %I_InitGraphics() {
 shortcirc_next.3:              ; preds = %no_exit.1
-       %tmp.319 = load int* getelementptr ({ int, int }* cast (%union._XEvent* %.X_event_9 to { int, int }*), long 0, ubyte 1)         ; <int> [#uses=1]
+       %tmp.319 = load int* getelementptr ({ int, int }* cast (%union._XEvent* %.X_event_9 to { int, int }*), long 0, uint 1)          ; <int> [#uses=1]
     ret void
 }