MatchBranchSimplication (a disabled mir-opt) is unsound #78239
Labels
A-mir-opt
Area: MIR optimizations
C-bug
Category: This is a bug.
I-unsound
Issue: A soundness hole (worst kind of bug), see: https://en.wikipedia.org/wiki/Soundness
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Spawned off of PR #78151, which turned the mir-opt MatchBranchSimplification off by default.
I just want a dedicated issue for discussing the unsoundness identified there, and to track how resolve this bug in the mir-opt (and then maybe turn it back on again, if it can pay for its own cost, which it might not have done before...)
The text was updated successfully, but these errors were encountered: