Merge pull request #82798 from eeckstein/fix-let-property-lowering

LetPropertyLowering: remove redundant phis after ssa-update
This commit is contained in:
nate-chandler
2025-07-08 18:07:08 -07:00
committed by GitHub
7 changed files with 59 additions and 1 deletions

View File

@@ -1562,6 +1562,7 @@ irgen::IRGenModule *SwiftPassInvocation::getIRGenModule() {
}
void SwiftPassInvocation::endPass() {
insertedPhisBySSAUpdater.clear();
assert(allocatedSlabs.empty() && "StackList is leaking slabs");
assert(numBlockSetsAllocated == 0 && "Not all BasicBlockSets deallocated");
assert(numNodeSetsAllocated == 0 && "Not all NodeSets deallocated");