[clang] [SYCL] Basic code generation for SYCL kernel caller offload entry point functions. (PR #133030)
Tom Honermann via cfe-commits
cfe-commits at lists.llvm.org
Sat Mar 29 14:44:08 PDT 2025
================
@@ -229,6 +229,12 @@ class CodeGenTypes {
const CGFunctionInfo &arrangeBuiltinFunctionCall(QualType resultType,
const CallArgList &args);
+ /// A SYCL device kernel function is a free standing function with
+ /// spir_kernel calling convention
----------------
tahonermann wrote:
Answering my own question here. https://github.com/llvm/llvm-project/pull/120806 removed all the calls that caused the `kernel` NVVM metadata to be emitted as illustrated by both code and test changes. I checked for other calls in both LLVM/Clang and in the oneAPI sources and didn't find any. Resolving this comment now.
https://github.com/llvm/llvm-project/pull/133030
More information about the cfe-commits
mailing list