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

12 lines
336 B
LLVM
Raw Normal View History

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