summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/ARM/atomic-cmp.ll
diff options
context:
space:
mode:
authorEli Friedman <eli.friedman@gmail.com>2011-09-26 20:27:49 +0000
committerEli Friedman <eli.friedman@gmail.com>2011-09-26 20:27:49 +0000
commitc064f2c33e1c1fddf274b9ac2db5fcc6ad722856 (patch)
tree2971fa6c1705fcfe2b4e55dd3de969c9e263e1b0 /llvm/test/CodeGen/ARM/atomic-cmp.ll
parentbda9e7af587984a60882b55b9f2ca9c7f3c156d2 (diff)
downloadbcm5719-llvm-c064f2c33e1c1fddf274b9ac2db5fcc6ad722856.tar.gz
bcm5719-llvm-c064f2c33e1c1fddf274b9ac2db5fcc6ad722856.zip
Convert more tests over to the new atomic instructions.
llvm-svn: 140559
Diffstat (limited to 'llvm/test/CodeGen/ARM/atomic-cmp.ll')
-rw-r--r--llvm/test/CodeGen/ARM/atomic-cmp.ll4
1 files changed, 1 insertions, 3 deletions
diff --git a/llvm/test/CodeGen/ARM/atomic-cmp.ll b/llvm/test/CodeGen/ARM/atomic-cmp.ll
index e179017d10a..82726daebca 100644
--- a/llvm/test/CodeGen/ARM/atomic-cmp.ll
+++ b/llvm/test/CodeGen/ARM/atomic-cmp.ll
@@ -10,8 +10,6 @@ define i8 @t(i8* %a, i8 %b, i8 %c) nounwind {
; T2: t:
; T2: ldrexb
; T2: strexb
- %tmp0 = tail call i8 @llvm.atomic.cmp.swap.i8.p0i8(i8* %a, i8 %b, i8 %c)
+ %tmp0 = cmpxchg i8* %a, i8 %b, i8 %c monotonic
ret i8 %tmp0
}
-
-declare i8 @llvm.atomic.cmp.swap.i8.p0i8(i8* nocapture, i8, i8) nounwind
OpenPOWER on IntegriCloud