Skip to content
Unverified Commit e10b0ea3 authored by Florian Hahn's avatar Florian Hahn
Browse files

[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
parent eae306f5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment