aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGen/Generic/2007-04-27-InlineAsm-X-Dest.ll
blob: 6f8fbaee7050a1c4b94f24b70f79be3dec23beb8 (plain)
1
2
3
4
5
6
7
8
9
10
; 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
}