mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-23 15:29:51 +00:00
e7e3f2e5cd
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17528 91177308-0d34-0410-b5e6-96231b3b80d8
13 lines
312 B
LLVM
13 lines
312 B
LLVM
; RUN: llvm-as < %s -o /dev/null -f
|
|
|
|
|
|
|
|
|
|
int *%t1({ float, int }* %X) {
|
|
%W = getelementptr { float, int }* %X, int 20, ubyte 1
|
|
%X = getelementptr { float, int }* %X, uint 20, uint 1
|
|
%Y = getelementptr { float, int }* %X, long 20, ubyte 1
|
|
%Z = getelementptr { float, int }* %X, ulong 20, uint 1
|
|
ret int* %Y
|
|
}
|