mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-05-18 13:06:17 +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
|
|
}
|