1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-01 16:33:37 +01:00
llvm-mirror/test/CodeGen/CBackend/2003-10-28-CastToPtrToStruct.ll

13 lines
410 B
LLVM
Raw Normal View History

; RUN: llc < %s -march=c
2004-11-06 22:40:51 +01:00
; reduced from DOOM.
%union._XEvent = type { i32 }
@.X_event_9 = global %union._XEvent zeroinitializer ; <%union._XEvent*> [#uses=1]
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
}