1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-20 19:42:54 +02:00

Testcase for PR828.

llvm-svn: 29117
This commit is contained in:
Chris Lattner 2006-07-12 16:59:09 +00:00
parent fd45f3f421
commit 6c1cbeb9bc

View File

@ -0,0 +1,18 @@
; RUN: llvm-as < %s | 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
}