forked from OSchip/llvm-project
7 lines
123 B
LLVM
7 lines
123 B
LLVM
|
; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 | grep neg
|
||
|
|
||
|
int %test(int %X) {
|
||
|
%Y = sub int 0, %X
|
||
|
ret int %Y
|
||
|
}
|