[clang] [CIR][SYCL] Device kernel caller (PR #213771)
Andy Kaylor via cfe-commits
cfe-commits at lists.llvm.org
Tue Aug 11 15:47:08 PDT 2026
================
@@ -783,6 +784,18 @@ const CIRGenFunctionInfo &CIRGenTypes::arrangeCIRFunctionInfo(
return *fi;
}
+const CIRGenFunctionInfo &CIRGenTypes::arrangeDeviceKernelCallerDeclaration(
+ QualType resultType, const FunctionArgList &args) {
+ SmallVector<CanQualType, 16> argTypes;
+ for (const VarDecl *arg : args)
+ argTypes.push_back(astContext.getCanonicalParamType(arg->getType()));
+
+ assert(!cir::MissingFeatures::opCallFnInfoOpts());
----------------
andykaylor wrote:
What I meant was that I don't think anything will be needed here, even if CIR did support it.
https://github.com/llvm/llvm-project/pull/213771
More information about the cfe-commits
mailing list