summaryrefslogtreecommitdiff
path: root/test/CodeGen/X86/2006-07-12-InlineAsmQConstraint.ll
blob: 568fbbcc4f4ff32c606d548a64e4b8bcd3ddc370 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
; RUN: llc < %s -march=x86
; PR828

target datalayout = "e-p:32:32"
target triple = "i686-pc-linux-gnu"

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
}