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 1ed3ce3 commit 646dc13Copy full SHA for 646dc13
lib/SILOptimizer/Transforms/CopyPropagation.cpp
@@ -438,7 +438,7 @@ void CopyPropagation::run() {
438
// blocks and pushing begin_borrows as we see them and then popping them
439
// off the end will result in shrinking inner borrow scopes first.
440
while (auto *bbi = beginBorrowsToShrink.pop()) {
441
- shrinkBorrowScope(bbi, deleter);
+ changed |= shrinkBorrowScope(bbi, deleter);
442
}
443
444
// canonicalizer performs all modifications through deleter's callbacks, so we
0 commit comments