From c064f2c33e1c1fddf274b9ac2db5fcc6ad722856 Mon Sep 17 00:00:00 2001 From: Eli Friedman Date: Mon, 26 Sep 2011 20:27:49 +0000 Subject: Convert more tests over to the new atomic instructions. llvm-svn: 140559 --- llvm/test/CodeGen/ARM/atomic-cmp.ll | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'llvm/test/CodeGen/ARM/atomic-cmp.ll') 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 -- cgit v1.2.3