Skip to content

Simplifier: Constant fold invald tagToEnum# calls to bottom expr.

Andreas Klebinger requested to merge wip/andreask/fold_tag_to_enum into master
Simplifier: Constant fold invald tagToEnum# calls to bottom expr.

When applying tagToEnum# to a out-of-range value it's best to simply
constant fold it to a bottom expression. That potentially allows more
dead code elimination and makes debugging easier.

Fixes #25976

Merge request reports

Loading