Matthias Springer 3de11e9251
[mlir][CF] Add ub.unreachable canonicalization (#169873)
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.
2025-11-30 02:36:57 +00:00
..