1; RUN: opt -mtriple=amdgcn-amd-amdhsa -load-store-vectorizer -S -o - %s | FileCheck %s 2 3; CHECK-LABEL: @optnone( 4; CHECK: store i32 5; CHECK: store i32 6define void @optnone(i32 addrspace(1)* %out) noinline optnone { 7 %out.gep.1 = getelementptr i32, i32 addrspace(1)* %out, i32 1 8 9 store i32 123, i32 addrspace(1)* %out.gep.1 10 store i32 456, i32 addrspace(1)* %out 11 ret void 12} 13 14; CHECK-LABEL: @do_opt( 15; CHECK: store <2 x i32> 16define void @do_opt(i32 addrspace(1)* %out) { 17 %out.gep.1 = getelementptr i32, i32 addrspace(1)* %out, i32 1 18 19 store i32 123, i32 addrspace(1)* %out.gep.1 20 store i32 456, i32 addrspace(1)* %out 21 ret void 22} 23