[clang] [CIR] cir.call with scalar return type (PR #135552)
Sirui Mu via cfe-commits
cfe-commits at lists.llvm.org
Wed Apr 16 07:22:45 PDT 2025
================
@@ -14,9 +14,14 @@ using namespace clang::CIRGen;
CIRGenTypes::CIRGenTypes(CIRGenModule &genModule)
: cgm(genModule), astContext(genModule.getASTContext()),
- builder(cgm.getBuilder()) {}
+ builder(cgm.getBuilder()),
+ theABIInfo(cgm.getTargetCIRGenInfo().getABIInfo()) {}
-CIRGenTypes::~CIRGenTypes() {}
+CIRGenTypes::~CIRGenTypes() {
+ using Iterator = llvm::FoldingSet<CIRGenFunctionInfo>::iterator;
+ for (Iterator i = functionInfos.begin(), e = functionInfos.end(); i != e;)
----------------
Lancern wrote:
Updated.
https://github.com/llvm/llvm-project/pull/135552
More information about the cfe-commits
mailing list