2 ; RUN: llc -march=amdgcn -mcpu=SI -verify-machineinstrs< %s | FileCheck -check-prefix=SI %s
3 ; RUN: llc -march=amdgcn -mcpu=tonga -verify-machineinstrs< %s | FileCheck -check-prefix=SI %s
5 ; SI-LABEL: {{^}}global_store_v3i64:
6 ; SI: buffer_store_dwordx4
7 ; SI: buffer_store_dwordx4
8 define void @global_store_v3i64(<3 x i64> addrspace(1)* %out, <3 x i64> %x) {
9 store <3 x i64> %x, <3 x i64> addrspace(1)* %out, align 32
13 ; SI-LABEL: {{^}}global_store_v3i64_unaligned:
14 define void @global_store_v3i64_unaligned(<3 x i64> addrspace(1)* %out, <3 x i64> %x) {
15 store <3 x i64> %x, <3 x i64> addrspace(1)* %out, align 1
19 ; SI-LABEL: {{^}}local_store_v3i64:
20 define void @local_store_v3i64(<3 x i64> addrspace(3)* %out, <3 x i64> %x) {
21 store <3 x i64> %x, <3 x i64> addrspace(3)* %out, align 32
25 ; SI-LABEL: {{^}}local_store_v3i64_unaligned:
26 define void @local_store_v3i64_unaligned(<3 x i64> addrspace(1)* %out, <3 x i64> %x) {
27 store <3 x i64> %x, <3 x i64> addrspace(1)* %out, align 1