blob: 568fbbcc4f4ff32c606d548a64e4b8bcd3ddc370 [file] [log] [blame]
Dan Gohman36a09472009-09-08 23:54:48 +00001; RUN: llc < %s -march=x86
Chris Lattner08c3f7b2006-07-12 16:59:09 +00002; PR828
3
Tanya Lattner6f729d62008-03-25 04:26:08 +00004target datalayout = "e-p:32:32"
Chris Lattner08c3f7b2006-07-12 16:59:09 +00005target triple = "i686-pc-linux-gnu"
6
Tanya Lattner6f729d62008-03-25 04:26:08 +00007define void @_ZN5() {
8cond_true9:
9 %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]
10 ret void
Chris Lattner08c3f7b2006-07-12 16:59:09 +000011}
12