1 ; RUN: llc < %s -march=nvptx -mcpu=sm_20 | FileCheck %s
2 ; RUN: llc < %s -march=nvptx64 -mcpu=sm_20 | FileCheck %s
5 ;; Kernel function using ptx_kernel calling conv
7 ; CHECK: .entry kernel_func
8 define ptx_kernel void @kernel_func(float* %a) {
14 ; CHECK: .func device_func
15 define void @device_func(float* %a) {
20 ;; Kernel function using NVVM metadata
21 ; CHECK: .entry metadata_kernel
22 define void @metadata_kernel(float* %a) {
28 !nvvm.annotations = !{!1}
30 !1 = !{void (float*)* @metadata_kernel, !"kernel", i32 1}