bolt/deps/llvm-18.1.8/llvm/test/CodeGen/ARC/atomic-oversize.ll

12 lines
325 B
LLVM
Raw Normal View History

2025-02-14 19:21:04 +01:00
; RUN: llc -mtriple=arc < %s | FileCheck %s
; Native atomics are unsupported, so all are oversize.
define void @test(ptr %a) nounwind {
; CHECK-LABEL: test:
; CHECK: bl @__atomic_load_1
; CHECK: bl @__atomic_store_1
%1 = load atomic i8, ptr %a seq_cst, align 16
store atomic i8 %1, ptr %a seq_cst, align 16
ret void
}