mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-24 06:30:19 +00:00
fce288fc91
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81293 91177308-0d34-0410-b5e6-96231b3b80d8
15 lines
435 B
LLVM
15 lines
435 B
LLVM
; RUN: llc < %s -march=ppc32 -mtriple=powerpc-apple-darwin8.8.0 | grep {foo r3, r4}
|
|
; RUN: llc < %s -march=ppc32 -mtriple=powerpc-apple-darwin8.8.0 | grep {bari r3, 47}
|
|
|
|
; PR1351
|
|
|
|
define i32 @test1(i32 %Y, i32 %X) nounwind {
|
|
%tmp1 = tail call i32 asm "foo${1:I} $0, $1", "=r,rI"( i32 %X )
|
|
ret i32 %tmp1
|
|
}
|
|
|
|
define i32 @test2(i32 %Y, i32 %X) nounwind {
|
|
%tmp1 = tail call i32 asm "bar${1:I} $0, $1", "=r,rI"( i32 47 )
|
|
ret i32 %tmp1
|
|
}
|