2011-02-14 09:42:53 +08:00
|
|
|
// RUN: %clang_cc1 %s -emit-llvm -o - | FileCheck %s
|
|
|
|
|
|
|
|
void normal_function() {
|
|
|
|
}
|
|
|
|
|
|
|
|
__kernel void kernel_function() {
|
|
|
|
}
|
|
|
|
|
2018-02-24 03:30:48 +08:00
|
|
|
// CHECK: define {{.*}}spir_kernel void @kernel_function() {{[^{]+}} !kernel_arg_addr_space ![[MD:[0-9]+]] !kernel_arg_access_qual ![[MD]] !kernel_arg_type ![[MD]] !kernel_arg_base_type ![[MD]] !kernel_arg_type_qual ![[MD]] {
|
2016-06-22 22:56:35 +08:00
|
|
|
// CHECK: ![[MD]] = !{}
|