llvm-6502/test/CodeGen/PowerPC/neg.ll
Nate Begeman ab001cfeaf Add a missing testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26834 91177308-0d34-0410-b5e6-96231b3b80d8
2006-03-17 22:39:45 +00:00

7 lines
108 B
LLVM

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