1 ; RUN: llc -O0 -mtriple=spirv32-unknown-unknown %s -o - | FileCheck %s
2 ; RUN: %if spirv-tools %{ llc -O0 -mtriple=spirv32-unknown-unknown %s -o - -filetype=obj | spirv-val %}
4 ; CHECK: OpCapability Addresses
6 define spir_kernel void @foo(i32 addrspace(1)* %a) {
8 %a.addr = alloca i32 addrspace(1)*, align 4
9 store i32 addrspace(1)* %a, i32 addrspace(1)** %a.addr, align 4