mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-09-10 06:54:54 +00:00
7 lines
108 B
LLVM
7 lines
108 B
LLVM
|
; RUN: llvm-as < %s | llc -march=ppc32 | grep neg
|
||
|
|
||
|
int %test(int %X) {
|
||
|
%Y = sub int 0, %X
|
||
|
ret int %Y
|
||
|
}
|