We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e31852a commit 214e890Copy full SHA for 214e890
lib/SILOptimizer/Transforms/CopyPropagation.cpp
@@ -440,6 +440,7 @@ void CopyPropagation::run() {
440
while (auto *bbi = beginBorrowsToShrink.pop()) {
441
changed |= shrinkBorrowScope(bbi, deleter);
442
}
443
+ deleter.cleanupDeadInstructions();
444
445
// canonicalizer performs all modifications through deleter's callbacks, so we
446
// don't need to explicitly check for changes.
0 commit comments