From 184944acdfb74041a2362af904e6eda3f0d3f645 Mon Sep 17 00:00:00 2001 From: Eli Friedman Date: Mon, 26 Sep 2011 23:15:09 +0000 Subject: Convert a bunch more tests over to the new atomic instructions. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@140582 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/CodeGen/X86/2010-01-08-Atomic64Bug.ll | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'test/CodeGen/X86/2010-01-08-Atomic64Bug.ll') diff --git a/test/CodeGen/X86/2010-01-08-Atomic64Bug.ll b/test/CodeGen/X86/2010-01-08-Atomic64Bug.ll index c6936362048..8b55bd79aaa 100644 --- a/test/CodeGen/X86/2010-01-08-Atomic64Bug.ll +++ b/test/CodeGen/X86/2010-01-08-Atomic64Bug.ll @@ -18,12 +18,6 @@ entry: ; CHECK: lock ; CHECK: cmpxchg8b ; CHECK: jne - tail call void @llvm.memory.barrier(i1 true, i1 true, i1 true, i1 true, i1 true) - %0 = tail call i64 @llvm.atomic.load.add.i64.p0i64(i64* %p, i64 1) ; [#uses=0] - tail call void @llvm.memory.barrier(i1 true, i1 true, i1 true, i1 true, i1 true) + %0 = atomicrmw add i64* %p, i64 1 seq_cst ret void } - -declare void @llvm.memory.barrier(i1, i1, i1, i1, i1) nounwind - -declare i64 @llvm.atomic.load.add.i64.p0i64(i64* nocapture, i64) nounwind -- cgit v1.2.3