[clang] [CIR] cir.call with scalar return type (PR #135552)
Erich Keane via cfe-commits
cfe-commits at lists.llvm.org
Tue Apr 15 14:10:34 PDT 2025
================
@@ -303,14 +305,23 @@ const CIRGenFunctionInfo &CIRGenTypes::arrangeCIRFunctionInfo() {
assert(!cir::MissingFeatures::opCallCallConv());
// Construction the function info. We co-allocate the ArgInfos.
- fi = CIRGenFunctionInfo::create();
+ fi = CIRGenFunctionInfo::create(returnType);
----------------
erichkeane wrote:
It looks like `functionInfos` is the one that ends up keeping long-term track of this for memoization, but that doesn't seem to do the destruction either.
https://github.com/llvm/llvm-project/pull/135552
More information about the cfe-commits
mailing list