This repository was archived by the owner on May 28, 2025. It is now read-only.
Commit c2f46df
authored
Rollup merge of rust-lang#107256 - JakobDegen:delete-sai, r=cjgillot
Delete `SimplifyArmIdentity` and `SimplifyBranchSame` mir opts
I had attempted to fix the first of these opts in rust-lang#94177 . However, despite that PR already being a full re-write, it still did not fix some of the core soundness issues. The optimizations that are attempted here are likely to be desirable, but I do not expect any of the currently written code to survive into a sound implementation. Deleting the code keeps us from having to maintain the passes in the meantime.
Closes rust-lang#77359 , closes rust-lang#72800 , closes rust-lang#78628
r? ```@cjgillot```File tree
6 files changed
+0
-1041
lines changed- compiler/rustc_mir_transform/src
- tests/mir-opt
6 files changed
+0
-1041
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
93 | | - | |
94 | 93 | | |
95 | 94 | | |
96 | 95 | | |
| |||
567 | 566 | | |
568 | 567 | | |
569 | 568 | | |
570 | | - | |
571 | | - | |
572 | 569 | | |
573 | 570 | | |
574 | 571 | | |
| |||
0 commit comments