Skip to content

Commit 5bbd67c

Browse files
authored
Merge pull request #17170 from mdiep/remove-redundant-simplification
[Sema] Remove redundant simplification
2 parents cd5d738 + 4d19d9f commit 5bbd67c

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

lib/Sema/CSSolver.cpp

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1417,12 +1417,6 @@ bool ConstraintSystem::solve(Expr *const expr,
14171417
// Set up solver state.
14181418
SolverState state(expr, *this);
14191419

1420-
// Simplify any constraints left active after constraint generation
1421-
// and optimization. Return if the resulting system has no
1422-
// solutions.
1423-
if (failedConstraint || simplify())
1424-
return true;
1425-
14261420
// Solve the system.
14271421
solveRec(solutions, allowFreeTypeVariables);
14281422

0 commit comments

Comments
 (0)