mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-21 00:32:23 +00:00
7 lines
84 B
LLVM
7 lines
84 B
LLVM
|
; RUN: llvm-as < %s | llc
|
||
|
|
||
|
int %test(int %X) {
|
||
|
%Y = div int %X, -2
|
||
|
ret int %Y
|
||
|
}
|