1 ; RUN: opt -S -mtriple=amdgcn-- -load-store-vectorizer < %s | FileCheck -check-prefix=OPT %s
4 define void @func(i32 addrspace(7)* %out) {
6 %a0 = getelementptr i32, i32 addrspace(7)* %out, i32 0
7 %a1 = getelementptr i32, i32 addrspace(7)* %out, i32 1
8 %a2 = getelementptr i32, i32 addrspace(7)* %out, i32 2
9 %a3 = getelementptr i32, i32 addrspace(7)* %out, i32 3
11 ; OPT: store <4 x i32> <i32 0, i32 1, i32 2, i32 3>, <4 x i32> addrspace(7)* %0, align 4
12 store i32 0, i32 addrspace(7)* %a0
13 store i32 1, i32 addrspace(7)* %a1
14 store i32 2, i32 addrspace(7)* %a2
15 store i32 3, i32 addrspace(7)* %a3