mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 19:52:54 +01:00
230c714773
llvm-svn: 47325
8 lines
158 B
LLVM
8 lines
158 B
LLVM
; RUN: llvm-as < %s | llc -march=ppc32 | grep neg
|
|
|
|
define i32 @test(i32 %X) {
|
|
%Y = sub i32 0, %X ; <i32> [#uses=1]
|
|
ret i32 %Y
|
|
}
|
|
|