================
@@ -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
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits