mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-21 11:10:12 +00: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
|
|
}
|
|
|