• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; XFAIL: *
2; RUN: llc -march=r600 -mcpu=SI -verify-machineinstrs< %s | FileCheck -check-prefix=SI
3
4; SI-LABEL: @global_store_v3i64:
5; SI: BUFFER_STORE_DWORDX4
6; SI: BUFFER_STORE_DWORDX4
7define void @global_store_v3i64(<3 x i64> addrspace(1)* %out, <3 x i64> %x) {
8  store <3 x i64> %x, <3 x i64> addrspace(1)* %out, align 32
9  ret void
10}
11
12; SI-LABEL: @global_store_v3i64_unaligned:
13define void @global_store_v3i64_unaligned(<3 x i64> addrspace(1)* %out, <3 x i64> %x) {
14  store <3 x i64> %x, <3 x i64> addrspace(1)* %out, align 1
15  ret void
16}
17
18; SI-LABEL: @local_store_v3i64:
19define void @local_store_v3i64(<3 x i64> addrspace(3)* %out, <3 x i64> %x) {
20  store <3 x i64> %x, <3 x i64> addrspace(3)* %out, align 32
21  ret void
22}
23
24; SI-LABEL: @local_store_v3i64_unaligned:
25define void @local_store_v3i64_unaligned(<3 x i64> addrspace(1)* %out, <3 x i64> %x) {
26  store <3 x i64> %x, <3 x i64> addrspace(1)* %out, align 1
27  ret void
28}
29