diff options
Diffstat (limited to 'llvm/test/CodeGen/CBackend/2003-10-28-CastToPtrToStruct.ll')
-rw-r--r-- | llvm/test/CodeGen/CBackend/2003-10-28-CastToPtrToStruct.ll | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/llvm/test/CodeGen/CBackend/2003-10-28-CastToPtrToStruct.ll b/llvm/test/CodeGen/CBackend/2003-10-28-CastToPtrToStruct.ll index 4c7ab32f9fc..41f3f1ef0fb 100644 --- a/llvm/test/CodeGen/CBackend/2003-10-28-CastToPtrToStruct.ll +++ b/llvm/test/CodeGen/CBackend/2003-10-28-CastToPtrToStruct.ll @@ -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 } + |