Factor out code that optimize loop terminating condition.
[llvm/msp430.git] / test / CodeGen / CBackend / 2003-10-28-CastToPtrToStruct.ll
blob41f3f1ef0fb347d19b824c872996ce7a9fd0cb50
1 ; RUN: llvm-as < %s | llc -march=c
3 ; reduced from DOOM.
4         %union._XEvent = type { i32 }
5 @.X_event_9 = global %union._XEvent zeroinitializer             ; <%union._XEvent*> [#uses=1]
7 define void @I_InitGraphics() {
8 shortcirc_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