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

12 lines
355 B
LLVM
Raw Normal View History

2025-02-14 19:21:04 +01:00
; RUN: llc -mtriple=x86_64 -mattr=cx16 < %s | FileCheck %s
; Atomics larger than 128-bit are unsupported, and emit libcalls.
define void @test(ptr %a) nounwind {
; CHECK-LABEL: test:
; CHECK: callq __atomic_load
; CHECK: callq __atomic_store
%1 = load atomic i256, ptr %a seq_cst, align 32
store atomic i256 %1, ptr %a seq_cst, align 32
ret void
}