[ConstraintElimination] Remove over-eager assertion.
After moving the CanAdd check in c60cdb44 and using it for the assume cases as well, the passed in block may not have a branch instruction as terminator. This can trigger the assertion. Given the new use case, it doesn't add value any longer and can be removed. Fixes https://github.com/llvm/llvm-project/issues/54281
Loading
Please sign in to comment