diff options
author | Chris Lattner <sabre@nondot.org> | 2007-04-28 05:20:26 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2007-04-28 05:20:26 +0000 |
commit | 827a1f45c575f98f0da7e1ef639a16aaca15a145 (patch) | |
tree | 7c9074c61b54e18f6cad3d03bd95f180d7f123d1 /test/CodeGen/X86/2006-07-20-InlineAsm.ll | |
parent | e62f021c8cabbe825bf10aadf7f8c5cfaae64b4b (diff) | |
download | llvm-827a1f45c575f98f0da7e1ef639a16aaca15a145.tar.gz llvm-827a1f45c575f98f0da7e1ef639a16aaca15a145.tar.bz2 llvm-827a1f45c575f98f0da7e1ef639a16aaca15a145.tar.xz |
update for new inline asm syntax
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36526 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/X86/2006-07-20-InlineAsm.ll')
-rw-r--r-- | test/CodeGen/X86/2006-07-20-InlineAsm.ll | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/CodeGen/X86/2006-07-20-InlineAsm.ll b/test/CodeGen/X86/2006-07-20-InlineAsm.ll index 8f409eb841..16ad579cce 100644 --- a/test/CodeGen/X86/2006-07-20-InlineAsm.ll +++ b/test/CodeGen/X86/2006-07-20-InlineAsm.ll @@ -9,7 +9,7 @@ int %foo(int %X) { entry: %X_addr = alloca int ; <int*> [#uses=3] store int %X, int* %X_addr - call void asm sideeffect "xchg{l} {$0,$1|$1,$0}", "==m,==r,m,1,~{dirflag},~{fpsr},~{flags}"( int* %G, int* %X_addr, int* %G, int %X ) + call void asm sideeffect "xchg{l} {$0,$1|$1,$0}", "=*m,=*r,m,1,~{dirflag},~{fpsr},~{flags}"( int* %G, int* %X_addr, int* %G, int %X ) %tmp1 = load int* %X_addr ; <int> [#uses=1] ret int %tmp1 } @@ -18,7 +18,7 @@ int %foo2(int %X) { entry: %X_addr = alloca int ; <int*> [#uses=3] store int %X, int* %X_addr - call void asm sideeffect "xchg{l} {$0,$1|$1,$0}", "==m,==r,1,~{dirflag},~{fpsr},~{flags}"( int* %G, int* %X_addr, int %X ) + call void asm sideeffect "xchg{l} {$0,$1|$1,$0}", "=*m,=*r,1,~{dirflag},~{fpsr},~{flags}"( int* %G, int* %X_addr, int %X ) %tmp1 = load int* %X_addr ; <int> [#uses=1] ret int %tmp1 } |