llvm.org GIT mirror llvm / release_21 test / CodeGen / PowerPC / neg.ll
release_21

Tree @release_21 (Download .tar.gz)

neg.ll @release_21raw · history · blame

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
}