1 ; RUN: llc < %s -march=amdgcn -mcpu=SI -verify-machineinstrs | FileCheck --check-prefix=SI %s
3 ; Make sure we don't crash or assert on spir_kernel calling convention.
5 ; SI-LABEL: {{^}}kernel:
7 define spir_kernel void @kernel(i32 addrspace(1)* %out) {
9 store i32 0, i32 addrspace(1)* %out
13 ; FIXME: This is treated like a kernel
14 ; SI-LABEL: {{^}}func:
16 define spir_func void @func(i32 addrspace(1)* %out) {
18 store i32 0, i32 addrspace(1)* %out