llvm.org GIT mirror llvm / 6bd7ada test / CodeGen / Generic / 2007-04-27-InlineAsm-X-Dest.ll
6bd7ada

Tree @6bd7ada (Download .tar.gz)

2007-04-27-InlineAsm-X-Dest.ll @6bd7adaraw · history · blame

; RUN: llvm-as < %s | llc
; XFAIL: sparc-sun-solaris2.*
; PR1557

; Test that we can have an "X" output constraint.

define void @test(i16 * %t) {
        call void asm sideeffect "foo $0", "=*X,~{dirflag},~{fpsr},~{flags},~{memory}"( i16* %t )
        ret void
}