1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-21 03:53:04 +02:00
llvm-mirror/test/CodeGen/PowerPC/inlineasm-copy.ll
Tanya Lattner 230c714773 Remove llvm-upgrade and update tests.
llvm-svn: 47325
2008-02-19 08:07:33 +00:00

15 lines
368 B
LLVM

; RUN: llvm-as < %s | llc -march=ppc32 | not grep mr
define i32 @test(i32 %Y, i32 %X) {
entry:
%tmp = tail call i32 asm "foo $0", "=r"( ) ; <i32> [#uses=1]
ret i32 %tmp
}
define i32 @test2(i32 %Y, i32 %X) {
entry:
%tmp1 = tail call i32 asm "foo $0, $1", "=r,r"( i32 %X ) ; <i32> [#uses=1]
ret i32 %tmp1
}