llvm-for-llvmta/tools/clang/test/CodeGenOpenCL/amdgpu-calling-conv.cl

13 lines
322 B
Common Lisp
Raw Normal View History

2022-04-25 13:02:35 +02:00
// REQUIRES: amdgpu-registered-target
// RUN: %clang_cc1 -triple amdgcn-unknown-unknown -S -emit-llvm -o - %s | FileCheck %s
// CHECK: define{{.*}} amdgpu_kernel void @calling_conv_amdgpu_kernel()
kernel void calling_conv_amdgpu_kernel()
{
}
// CHECK: define{{.*}} void @calling_conv_none()
void calling_conv_none()
{
}