1 ; RUN: opt -mtriple x86_64-- -load-store-vectorizer < %s -S | FileCheck %s
3 %struct_render_pipeline_state = type opaque
5 define fastcc void @test1(ptr addrspace(1) %pso) unnamed_addr {
10 %tmp1 = load i16, ptr addrspace(1) %pso, align 2
11 %sunkaddr51 = getelementptr i8, ptr addrspace(1) %pso, i64 6
12 %tmp4 = load i16, ptr addrspace(1) %sunkaddr51, align 2
16 define fastcc void @test2(ptr addrspace(1) %pso) unnamed_addr {
18 ; CHECK: load <2 x i16>
20 %tmp1 = load i16, ptr addrspace(1) %pso, align 2
21 %sunkaddr51 = getelementptr i8, ptr addrspace(1) %pso, i64 2
22 %tmp4 = load i16, ptr addrspace(1) %sunkaddr51, align 2