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