1 ; RUN: llc -march=amdgcn -mcpu=tahiti -mattr=-enable-ds128 < %s | FileCheck -check-prefixes=SI,GCN %s
2 ; RUN: llc -march=amdgcn -mcpu=tonga -mattr=-enable-ds128 < %s | FileCheck -check-prefixes=CIVI,GCN %s
3 ; RUN: llc -march=amdgcn -mcpu=gfx900 -mattr=-enable-ds128 < %s | FileCheck -check-prefixes=CIVI,GCN %s
5 ; Test if ds_read/write_b128 doesn't gets generated when the option is
7 ; GCN-LABEL: {{^}}local_v4f32_to_2b64
10 ; SI-NOT: ds_write_b128
14 define amdgpu_kernel void @local_v4f32_to_2b64(<4 x float> addrspace(3)* %out, <4 x float> addrspace(3)* %in) {
15 %ld = load <4 x float>, <4 x float> addrspace(3)* %in, align 16
16 store <4 x float> %ld, <4 x float> addrspace(3)* %out, align 16
20 attributes #0 = { nounwind }