llvm-project/llvm/test/CodeGen/PowerPC/neg.ll

7 lines
123 B
LLVM
Raw Normal View History

; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 | grep neg
2006-03-18 06:39:45 +08:00
int %test(int %X) {
%Y = sub int 0, %X
ret int %Y
}