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
}