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