diff options
Diffstat (limited to 'test/CodeGen/X86/2006-07-12-InlineAsmQConstraint.ll')
-rw-r--r-- | test/CodeGen/X86/2006-07-12-InlineAsmQConstraint.ll | 18 |
1 files changed, 6 insertions, 12 deletions
diff --git a/test/CodeGen/X86/2006-07-12-InlineAsmQConstraint.ll b/test/CodeGen/X86/2006-07-12-InlineAsmQConstraint.ll index 1bacc16..1db3921 100644 --- a/test/CodeGen/X86/2006-07-12-InlineAsmQConstraint.ll +++ b/test/CodeGen/X86/2006-07-12-InlineAsmQConstraint.ll @@ -1,18 +1,12 @@ -; RUN: llvm-upgrade < %s | llvm-as | llc -march=x86 +; RUN: llvm-as < %s | llc -march=x86 ; PR828 -target endian = little -target pointersize = 32 +target datalayout = "e-p:32: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 +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 } |