mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-19 17:37:24 +00:00
11 lines
246 B
LLVM
11 lines
246 B
LLVM
|
; RUN: llvm-as < %s | llc -march=x86
|
||
|
|
||
|
void %_ZN13QFSFileEngine4readEPcx() {
|
||
|
%tmp201 = load int* null
|
||
|
%tmp201 = cast int %tmp201 to long
|
||
|
%tmp202 = load long* null
|
||
|
%tmp203 = add long %tmp201, %tmp202
|
||
|
store long %tmp203, long* null
|
||
|
ret void
|
||
|
}
|