1 ; RUN: llc -mtriple=amdgcn -mcpu=tahiti -mattr=-enable-ds128 < %s | FileCheck -check-prefixes=SI,GCN %s
2 ; RUN: llc -mtriple=amdgcn -mcpu=tonga -mattr=-enable-ds128 < %s | FileCheck -check-prefixes=CIVI,GCN %s
3 ; RUN: llc -mtriple=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(ptr addrspace(3) %out, ptr addrspace(3) %in) {
15 %ld = load <4 x float>, ptr addrspace(3) %in, align 16
16 store <4 x float> %ld, ptr addrspace(3) %out, align 16
20 attributes #0 = { nounwind }