mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 20:32:21 +00:00
Testcase for PR828.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29117 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
b7f7128fb5
commit
08c3f7b7c2
18
test/CodeGen/X86/2006-07-12-InlineAsmQConstraint.ll
Normal file
18
test/CodeGen/X86/2006-07-12-InlineAsmQConstraint.ll
Normal 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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user