summaryrefslogtreecommitdiff
path: root/test/CodeGen/PowerPC/neg.ll
blob: 7119f6c0da9dee159ae814975444e2b463775a95 (plain)
1
2
3
4
5
6
; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 | grep neg

int %test(int %X) {
    %Y = sub int 0, %X
	ret int %Y
}