1 ; RUN: llc -O0 -mtriple=spirv32-unknown-unknown %s -o - | FileCheck %s --check-prefix=CHECK-SPIRV
3 define spir_kernel void @k(i32 addrspace(1)* %a) !kernel_arg_type_qual !7 !spirv.ParameterDecorations !10 {
8 ; CHECK-SPIRV: OpDecorate %[[#PId:]] Volatile
9 ; CHECK-SPIRV: OpDecorate %[[#PId]] FuncParamAttr NoAlias
10 ; CHECK-SPIRV: %[[#PId]] = OpFunctionParameter %[[#]]
13 !8 = !{i32 38, i32 4} ; FuncParamAttr NoAlias