aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGen/X86/2008-08-19-SubAndFetch.ll
diff options
context:
space:
mode:
authorEli Friedman <eli.friedman@gmail.com>2011-09-26 23:15:09 +0000
committerEli Friedman <eli.friedman@gmail.com>2011-09-26 23:15:09 +0000
commit184944acdfb74041a2362af904e6eda3f0d3f645 (patch)
treea2f0267fc88d1f9038f8c1c9370862e878b8cda4 /test/CodeGen/X86/2008-08-19-SubAndFetch.ll
parent2dafe200ca2708ec08656e51a52ce4d718e8a1d6 (diff)
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
Diffstat (limited to 'test/CodeGen/X86/2008-08-19-SubAndFetch.ll')
-rw-r--r--test/CodeGen/X86/2008-08-19-SubAndFetch.ll4
1 files changed, 1 insertions, 3 deletions
diff --git a/test/CodeGen/X86/2008-08-19-SubAndFetch.ll b/test/CodeGen/X86/2008-08-19-SubAndFetch.ll
index 8475e8d354..360ec73bc4 100644
--- a/test/CodeGen/X86/2008-08-19-SubAndFetch.ll
+++ b/test/CodeGen/X86/2008-08-19-SubAndFetch.ll
@@ -7,8 +7,6 @@ entry:
; CHECK: main:
; CHECK: lock
; CHECK: decq
- tail call i64 @llvm.atomic.load.sub.i64.p0i64( i64* @var, i64 1 ) ; <i64>:0 [#uses=0]
+ atomicrmw sub i64* @var, i64 1 monotonic
unreachable
}
-
-declare i64 @llvm.atomic.load.sub.i64.p0i64(i64*, i64) nounwind