llvm-project/llvm/test/CodeGen/X86/2006-07-12-InlineAsmQConstr...

13 lines
310 B
LLVM
Raw Normal View History

; RUN: llc < %s -march=x86
2006-07-13 00:59:09 +08:00
; PR828
2008-03-25 12:26:08 +08:00
target datalayout = "e-p:32:32"
2006-07-13 00:59:09 +08:00
target triple = "i686-pc-linux-gnu"
2008-03-25 12:26:08 +08:00
define void @_ZN5() {
cond_true9:
%tmp3.i.i = call i32 asm sideeffect "lock; cmpxchg $1,$2", "={ax},q,m,0,~{dirflag},~{fpsr},~{flags},~{memory}"( i32 0, i32* null, i32 0 ) ; <i32> [#uses=0]
ret void
2006-07-13 00:59:09 +08:00
}