[clang] [CIR] Add pass_object_size hidden parameter support (PR #191482)
via cfe-commits
cfe-commits at lists.llvm.org
Wed Apr 15 12:10:28 PDT 2026
================
@@ -1397,8 +1407,15 @@ void CIRGenFunction::emitCallArgs(
if (!ps)
return;
- assert(!cir::MissingFeatures::opCallImplicitObjectSizeArgs());
- cgm.errorNYI("emit implicit object size for call arg");
+ QualType sizeTy = getContext().getSizeType();
+ auto cirSizeTy = cast<cir::IntType>(cgm.sizeTy);
----------------
adams381 wrote:
Done -- inlined the cast into the call.
https://github.com/llvm/llvm-project/pull/191482
More information about the cfe-commits
mailing list