1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-22 20:43:44 +02:00
llvm-mirror/test/CodeGen/PowerPC/neg.ll
2007-01-17 07:59:14 +00:00

7 lines
123 B
LLVM

; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 | grep neg
int %test(int %X) {
%Y = sub int 0, %X
ret int %Y
}