mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-17 05:29:24 +00:00
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32130 91177308-0d34-0410-b5e6-96231b3b80d8
10 lines
322 B
LLVM
10 lines
322 B
LLVM
; RUN: llvm-upgrade < %s | llvm-as -o /dev/null -f
|
|
|
|
int *%t1({ float, int }* %X) {
|
|
%W = getelementptr { float, int }* %X, int 20, uint 1
|
|
%X = getelementptr { float, int }* %X, uint 20, uint 1
|
|
%Y = getelementptr { float, int }* %X, long 20, uint 1
|
|
%Z = getelementptr { float, int }* %X, ulong 20, uint 1
|
|
ret int* %Y
|
|
}
|