Skip to content

Commit b13c8de

Browse files
committed
[SR-7043] Remove duplicate if statement
1 parent 4d9e1b0 commit b13c8de

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)