xref: /llvm-project/llvm/test/CodeGen/AMDGPU/atomic-oversize.ll (revision 137f785fa6a1abb1651a603e3ce5b0e1f00e5be4)
1; RUN: llc -mtriple=amdgcn-amd-amdhsa -mcpu=gfx900 -verify-machineinstrs < %s | FileCheck %s
2
3define void @test(ptr %a) nounwind {
4; CHECK-LABEL: test:
5; CHECK: __atomic_load_16
6; CHECK: __atomic_store_16
7  %1 = load atomic i128, ptr %a seq_cst, align 16
8  store atomic i128 %1, ptr %a seq_cst, align 16
9  ret void
10}
11