1 ; RUN: llc -O0 -mtriple=spirv32-unknown-unknown %s -o - | FileCheck %s
4 define spir_kernel void @foo(i32 addrspace(1)* %a) {
6 %a.addr = alloca i32 addrspace(1)*, align 4
7 store i32 addrspace(1)* %a, i32 addrspace(1)** %a.addr, align 4
8 %0 = load i32 addrspace(1)*, i32 addrspace(1)** %a.addr, align 4
9 ; CHECK: OpStore %[[#]] %[[#]] Aligned 4
10 store i32 0, i32 addrspace(1)* %0, align 4