blob: 7119f6c0da9dee159ae814975444e2b463775a95 [file] [log] [blame]
Dan Gohmanf17a25c2007-07-18 16:29:46 +00001; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 | grep neg
2
3int %test(int %X) {
4 %Y = sub int 0, %X
5 ret int %Y
6}