1; RUN: opt -load-store-vectorizer < %s -S | FileCheck %s
2
3%struct_render_pipeline_state = type opaque
4
5define fastcc void @main(%struct_render_pipeline_state addrspace(1)* %pso) unnamed_addr {
6; CHECK: load i16
7; CHECK: load i16
8entry:
9  %tmp = bitcast %struct_render_pipeline_state addrspace(1)* %pso to i16 addrspace(1)*
10  %tmp1 = load i16, i16 addrspace(1)* %tmp, align 2
11  %tmp2 = bitcast %struct_render_pipeline_state addrspace(1)* %pso to i8 addrspace(1)*
12  %sunkaddr51 = getelementptr i8, i8 addrspace(1)* %tmp2, i64 6
13  %tmp3 = bitcast i8 addrspace(1)* %sunkaddr51 to i16 addrspace(1)*
14  %tmp4 = load i16, i16 addrspace(1)* %tmp3, align 2
15  ret void
16}
17