blob: 41f3f1ef0fb347d19b824c872996ce7a9fd0cb50 [file] [log] [blame]
Tanya Lattnerf28e0ce2008-02-19 01:41:04 +00001; RUN: llvm-as < %s | llc -march=c
Dan Gohmanf17a25c2007-07-18 16:29:46 +00002
3; reduced from DOOM.
Tanya Lattnerf28e0ce2008-02-19 01:41:04 +00004 %union._XEvent = type { i32 }
5@.X_event_9 = global %union._XEvent zeroinitializer ; <%union._XEvent*> [#uses=1]
Dan Gohmanf17a25c2007-07-18 16:29:46 +00006
Tanya Lattnerf28e0ce2008-02-19 01:41:04 +00007define void @I_InitGraphics() {
8shortcirc_next.3:
9 %tmp.319 = load i32* getelementptr ({ i32, i32 }* bitcast (%union._XEvent* @.X_event_9 to { i32, i32 }*), i64 0, i32 1) ; <i32> [#uses=0]
10 ret void
Dan Gohmanf17a25c2007-07-18 16:29:46 +000011}
Tanya Lattnerf28e0ce2008-02-19 01:41:04 +000012