llvm-project/llvm/test/CodeGen/AArch64/atomic-oversize.ll
Fangrui Song 072cea668e [test] Change llc -march to -mtriple
Similar to d20190e68413634b87f0f9426312a0e9d8456d18
2023-12-11 15:42:12 -08:00

12 lines
338 B
LLVM

; RUN: llc -mtriple=aarch64 < %s | FileCheck %s
; Atomics larger than 128-bit are unsupported, and emit libcalls.
define void @test(ptr %a) nounwind {
; CHECK-LABEL: test:
; CHECK: bl __atomic_load
; CHECK: bl __atomic_store
%1 = load atomic i256, ptr %a seq_cst, align 32
store atomic i256 %1, ptr %a seq_cst, align 32
ret void
}