Skip to content

Commit c47c5c6

Browse files
committed
Auto merge of #147654 - dianqk:simplify-const-condition, r=cjgillot
Simplify trivial constants in SimplifyConstCondition After `InstSimplify-after-simplifycfg` with `-Zub_checks=false`, there are many of the following patterns. ``` _13 = const false; assume(copy _13); _12 = unreachable_unchecked::precondition_check() -> [return: bb1, unwind unreachable]; ``` Simplifying them to unreachable early should make CFG simpler.
2 parents 7c3c9fa + 1d7955f commit c47c5c6

0 file changed

File tree

    0 commit comments

    Comments
     (0)