YouCompleteMe/cpp/llvm/test/CodeGen/Generic/2007-04-27-InlineAsm-X-Dest.ll
2012-07-05 17:51:06 -07:00

9 lines
215 B
LLVM

; RUN: llc < %s
; 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
}