Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
fp2-dev
/
platform
/
external
/
clang
/
02a2e5a1dd0ad1b93f66040fc7aae6d69a918daf
/
.
/
test
/
CodeGenOpenCL
/
kernel-metadata.cl
blob: 3e10a119d04436fc79f02b6a3cf6a8470f941012 [
file
] [
log
] [
blame
]
//
RUN
:
%
clang_cc1
%
s -emit-llvm -o
-
|
FileCheck
%
s
void normal_function
(
)
{
}
__kernel void kernel_function
(
)
{
}
//
CHECK
:
!
opencl
.
kernels
=
!{!
0
}
//
CHECK
:
!
0
=
metadata
!{
void
(
)
*
@
kernel_function
}