aboutsummaryrefslogtreecommitdiff
path: root/llvm/test/CodeGen/BPF/atomic-oversize.ll
blob: 187f0964d4fb83f70dac948752dcee3d33d3c55f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
; RUN: llc -mtriple=bpf < %s | FileCheck %s
; XFAIL: *
; Doesn't currently build, with error 'only small returns supported'.

define void @test(ptr %a) nounwind {
; CHECK-LABEL: test:
; CHECK: call __atomic_load_16
; CHECK: call __atomic_store_16
  %1 = load atomic i128, ptr %a monotonic, align 16
  store atomic i128 %1, ptr %a monotonic, align 16
  ret void
}