mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-30 02:32:08 +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
|
||
|
}
|