mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 04:30:23 +00:00
New testcase, reduced from DOOM.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9568 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
368820586b
commit
dd73e9d0d5
10
test/CBackend/2003-10-28-CastToPtrToStruct.ll
Normal file
10
test/CBackend/2003-10-28-CastToPtrToStruct.ll
Normal file
@ -0,0 +1,10 @@
|
||||
; reduced from DOOM.
|
||||
%union._XEvent = type { int }
|
||||
%.X_event_9 = global %union._XEvent zeroinitializer
|
||||
|
||||
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, ubyte 1) ; <int> [#uses=1]
|
||||
ret void
|
||||
}
|
10
test/CodeGen/CBackend/2003-10-28-CastToPtrToStruct.ll
Normal file
10
test/CodeGen/CBackend/2003-10-28-CastToPtrToStruct.ll
Normal file
@ -0,0 +1,10 @@
|
||||
; reduced from DOOM.
|
||||
%union._XEvent = type { int }
|
||||
%.X_event_9 = global %union._XEvent zeroinitializer
|
||||
|
||||
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, ubyte 1) ; <int> [#uses=1]
|
||||
ret void
|
||||
}
|
Loading…
Reference in New Issue
Block a user