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

Tree @release_20 (Download .tar.gz)

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

1
2
3
4
5
6
7
8
; RUN: llvm-as < %s | llc

; 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
}