aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGen/BPF/atomics.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/BPF/atomics.ll')
-rw-r--r--test/CodeGen/BPF/atomics.ll19
1 files changed, 0 insertions, 19 deletions
diff --git a/test/CodeGen/BPF/atomics.ll b/test/CodeGen/BPF/atomics.ll
deleted file mode 100644
index 64c45aa4949b..000000000000
--- a/test/CodeGen/BPF/atomics.ll
+++ /dev/null
@@ -1,19 +0,0 @@
-; RUN: llc < %s -march=bpfel -verify-machineinstrs -show-mc-encoding | FileCheck %s
-
-; CHECK-LABEL: test_load_add_32
-; CHECK: lock *(u32 *)(r1 + 0) += r2
-; CHECK: encoding: [0xc3,0x21
-define void @test_load_add_32(i32* %p, i32 zeroext %v) {
-entry:
- atomicrmw add i32* %p, i32 %v seq_cst
- ret void
-}
-
-; CHECK-LABEL: test_load_add_64
-; CHECK: lock *(u64 *)(r1 + 0) += r2
-; CHECK: encoding: [0xdb,0x21
-define void @test_load_add_64(i64* %p, i64 zeroext %v) {
-entry:
- atomicrmw add i64* %p, i64 %v seq_cst
- ret void
-}