aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGen/ARM/atomic-cmp.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/ARM/atomic-cmp.ll')
-rw-r--r--test/CodeGen/ARM/atomic-cmp.ll18
1 files changed, 0 insertions, 18 deletions
diff --git a/test/CodeGen/ARM/atomic-cmp.ll b/test/CodeGen/ARM/atomic-cmp.ll
deleted file mode 100644
index 7f41b7d93d1a..000000000000
--- a/test/CodeGen/ARM/atomic-cmp.ll
+++ /dev/null
@@ -1,18 +0,0 @@
-; RUN: llc < %s -mtriple=armv7-apple-darwin -verify-machineinstrs | FileCheck %s -check-prefix=ARM
-; RUN: llc < %s -mtriple=thumbv7-apple-darwin -verify-machineinstrs | FileCheck %s -check-prefix=T2
-; rdar://8964854
-
-define i8 @t(i8* %a, i8 %b, i8 %c) nounwind {
-; ARM-LABEL: t:
-; ARM: ldrexb
-; ARM: strexb
-; ARM: clrex
-
-; T2-LABEL: t:
-; T2: strexb
-; T2: ldrexb
-; T2: clrex
- %tmp0 = cmpxchg i8* %a, i8 %b, i8 %c monotonic monotonic
- %tmp1 = extractvalue { i8, i1 } %tmp0, 0
- ret i8 %tmp1
-}