Disable the post-RA scheduler on this test, since it uses a
[oota-llvm.git] / test / CodeGen / CBackend / 2003-10-28-CastToPtrToStruct.ll
index 4c7ab32f9fc40aaa10b0f1610a2aba8a3c3cf8e7..41f3f1ef0fb347d19b824c872996ce7a9fd0cb50 100644 (file)
@@ -1,12 +1,12 @@
-; RUN: llvm-upgrade < %s | llvm-as | llc -march=c
+; RUN: llvm-as < %s | llc -march=c
 
 ; reduced from DOOM.
-%union._XEvent = type { int }
-%.X_event_9 = global %union._XEvent zeroinitializer
+        %union._XEvent = type { i32 }
+@.X_event_9 = global %union._XEvent zeroinitializer             ; <%union._XEvent*> [#uses=1]
 
-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, uint 1)          ; <int> [#uses=1]
-    ret void
+define void @I_InitGraphics() {
+shortcirc_next.3:
+        %tmp.319 = load i32* getelementptr ({ i32, i32 }* bitcast (%union._XEvent* @.X_event_9 to { i32, i32 }*), i64 0, i32 1)               ; <i32> [#uses=0]
+        ret void
 }
+