1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-01 08:23:21 +01:00
llvm-mirror/test/CodeGen/X86/2006-07-12-InlineAsmQConstraint.ll

13 lines
310 B
LLVM
Raw Normal View History

; RUN: llc < %s -march=x86
2006-07-12 18:59:09 +02:00
; PR828
2008-03-25 05:26:08 +01:00
target datalayout = "e-p:32:32"
2006-07-12 18:59:09 +02:00
target triple = "i686-pc-linux-gnu"
2008-03-25 05:26:08 +01: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-12 18:59:09 +02:00
}