Skip to content

Commit d6da4f7

Browse files
Merge pull request swiftlang#14747 from alblue/SR-7043
[SR-7043] Remove duplicate if statement
2 parents db47cb1 + b13c8de commit d6da4f7

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

lib/SILOptimizer/LoopTransforms/COWArrayOpt.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2367,9 +2367,7 @@ class SwiftArrayOptPass : public SILFunctionTransform {
23672367
DT, nullptr);
23682368

23692369
DEBUG(getFunction()->viewCFG());
2370-
}
23712370

2372-
if (HasChanged) {
23732371
// We preserve the dominator tree. Let's invalidate everything
23742372
// else.
23752373
DA->lockInvalidation();

0 commit comments

Comments
 (0)