llvm/test/CodeGen/PowerPC/neg.ll
2006-12-02 04:23:10 +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
}