bolt/deps/llvm-18.1.8/llvm/test/CodeGen/BPF/atomic-oversize.ll
2025-02-14 19:21:04 +01:00

12 lines
363 B
LLVM

; 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
}