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

7 lines
108 B
LLVM
Raw Normal View History

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