mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-19 01:13:25 +00:00
c462d25776
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@39975 91177308-0d34-0410-b5e6-96231b3b80d8
12 lines
292 B
LLVM
12 lines
292 B
LLVM
; RUN: llvm-as < %s | llc
|
|
; XFAIL: sparc-sun-solaris2
|
|
; PR1308
|
|
; PR1557
|
|
|
|
define i32 @stuff(i32, ...) {
|
|
%foo = alloca i8*
|
|
%bar = alloca i32*
|
|
%A = call i32 asm sideeffect "inline asm $0 $2 $3 $4", "=r,0,i,m,m"( i32 0, i32 1, i8** %foo, i32** %bar )
|
|
ret i32 %A
|
|
}
|