Skip to content

Commit 25bc152

Browse files
committed
[SAO] Redundant move elimination is mandatory.
1 parent ec2ef6d commit 25bc152

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

lib/SILOptimizer/SemanticARC/RedundantMoveValueElimination.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,6 @@ using namespace semanticarc;
3333
//===----------------------------------------------------------------------===//
3434

3535
bool SemanticARCOptVisitor::visitMoveValueInst(MoveValueInst *mvi) {
36-
if (ctx.onlyMandatoryOpts)
37-
return false;
38-
3936
if (!ctx.shouldPerform(ARCTransformKind::RedundantMoveValueElim))
4037
return false;
4138

0 commit comments

Comments
 (0)