aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGen/X86/2006-07-12-InlineAsmQConstraint.ll
blob: 1bacc16573b44c9ecb95947b68794e0b4e98808f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
; RUN: llvm-upgrade < %s | llvm-as | llc -march=x86
; PR828

target endian = little
target pointersize = 32
target triple = "i686-pc-linux-gnu"

implementation   ; Functions:

void %_ZN5() {

cond_true9:             ; preds = %entry
        %tmp3.i.i = call int asm sideeffect "lock; cmpxchg $1,$2",
"={ax},q,m,0,~{dirflag},~{fpsr},~{flags},~{memory}"( int 0, int* null, int 0 ) 
              ; <int> [#uses=0]
        ret void
}