================
@@ -1396,8 +1401,15 @@ void CIRGenFunction::emitCallArgs(
if (!ps)
return;
- assert(!cir::MissingFeatures::opCallImplicitObjectSizeArgs());
- cgm.errorNYI("emit implicit object size for call arg");
+ const ASTContext &astContext = getContext();
+ QualType sizeTy = astContext.getSizeType();
+ cir::IntType t = builder.getUIntNTy(astContext.getTypeSize(sizeTy));
----------------
andykaylor wrote:
I think you can just use `cgm.sizeTy`.
https://github.com/llvm/llvm-project/pull/191482
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits