Basic blocks with only a `ub.unreachable` terminator are unreachable. This commit adds a canonicalization pattern that folds to `cf.cond_br` to `cf.br` if one of the destination branches is unreachable.
Basic blocks with only a `ub.unreachable` terminator are unreachable. This commit adds a canonicalization pattern that folds to `cf.cond_br` to `cf.br` if one of the destination branches is unreachable.