mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-09-08 23:55:03 +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
|
||
|
}
|