rust/compiler
Matthias Krüger c2f46df5a5
Rollup merge of #107256 - JakobDegen:delete-sai, r=cjgillot
Delete `SimplifyArmIdentity` and `SimplifyBranchSame` mir opts

I had attempted to fix the first of these opts in #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 #77359 , closes #72800 , closes #78628

r? ```@cjgillot```
2023-01-25 22:19:55 +01:00
..
rustc
rustc_abi Rollup merge of #104505 - WaffleLapkin:no-double-spaces-in-comments, r=jackh726 2023-01-17 20:21:25 +01:00
rustc_apfloat
rustc_arena
rustc_ast Rollup merge of #104505 - WaffleLapkin:no-double-spaces-in-comments, r=jackh726 2023-01-17 20:21:25 +01:00
rustc_ast_lowering Rollup merge of #104505 - WaffleLapkin:no-double-spaces-in-comments, r=jackh726 2023-01-17 20:21:25 +01:00
rustc_ast_passes Autoderive ExternBlockSuggestion 2023-01-19 13:52:15 +01:00
rustc_ast_pretty Remove double spaces after dots in comments 2023-01-17 08:09:33 +00:00
rustc_attr
rustc_baked_icu_data
rustc_borrowck Rollup merge of #106897 - estebank:issue-99430, r=davidtwco 2023-01-25 22:19:52 +01:00
rustc_builtin_macros Auto merge of #106884 - clubby789:fieldless-enum-debug, r=michaelwoerister 2023-01-21 07:49:09 +00:00
rustc_codegen_cranelift Auto merge of #106810 - oli-obk:resolver_reverse_plumbing, r=petrochenkov 2023-01-19 05:23:40 +00:00
rustc_codegen_gcc Change src/test to tests in source files, fix tidy and tests 2023-01-11 09:32:13 +00:00
rustc_codegen_llvm Use UnordSet instead of FxHashSet in define_id_collections!(). 2023-01-19 10:19:07 +01:00
rustc_codegen_ssa Allow for more efficient sorting when exporting Unord collections. 2023-01-19 10:40:54 +01:00
rustc_const_eval fix: use LocalDefId instead of HirId in trait res 2023-01-23 11:42:18 +00:00
rustc_data_structures Rollup merge of #107153 - tmiasko:dominates, r=oli-obk 2023-01-23 19:30:02 +09:00
rustc_driver Auto merge of #106810 - oli-obk:resolver_reverse_plumbing, r=petrochenkov 2023-01-19 05:23:40 +00:00
rustc_error_codes add UI test + docs for E0789 2023-01-23 20:38:14 +13:00
rustc_error_messages Add suggestion to remove if in let...else block 2023-01-23 20:33:04 -08:00
rustc_errors Remove double spaces after dots in comments 2023-01-17 08:09:33 +00:00
rustc_expand Auto merge of #106090 - WaffleLapkin:dereffffffffff, r=Nilstrieb 2023-01-20 04:52:28 +00:00
rustc_feature Rollup merge of #106767 - chbaker0:disable-unstable-features, r=Mark-Simulacrum 2023-01-25 17:01:41 +05:30
rustc_fs_util
rustc_graphviz
rustc_hir Add hint for missing lifetime bound on trait object when type alias is used 2023-01-23 09:54:45 -08:00
rustc_hir_analysis fix: use LocalDefId instead of HirId in trait res 2023-01-23 11:42:18 +00:00
rustc_hir_pretty parse const closures 2023-01-12 02:28:37 +00:00
rustc_hir_typeck Auto merge of #103902 - vincenzopalazzo:macros/obligation_rulesv2, r=oli-obk 2023-01-25 16:39:29 +00:00
rustc_incremental Remove double spaces after dots in comments 2023-01-17 08:09:33 +00:00
rustc_index Fix IndexVec::drain_enumerated 2023-01-19 15:25:33 +00:00
rustc_infer Auto merge of #103902 - vincenzopalazzo:macros/obligation_rulesv2, r=oli-obk 2023-01-25 16:39:29 +00:00
rustc_interface Auto merge of #106090 - WaffleLapkin:dereffffffffff, r=Nilstrieb 2023-01-20 04:52:28 +00:00
rustc_lexer Remove double spaces after dots in comments 2023-01-17 08:09:33 +00:00
rustc_lint fix: use LocalDefId instead of HirId in trait res 2023-01-23 11:42:18 +00:00
rustc_lint_defs Auto merge of #107185 - compiler-errors:rollup-wkomjma, r=compiler-errors 2023-01-22 06:53:36 +00:00
rustc_llvm Rollup merge of #106113 - krasimirgg:llvm-16-ext-tyid, r=nikic 2023-01-21 23:20:58 -05:00
rustc_log Add log-backtrace option to show backtraces along with logging 2023-01-12 00:17:48 +09:00
rustc_macros Stop using BREAK & CONTINUE in compiler 2023-01-17 23:17:51 -08:00
rustc_metadata rustc_metadata: Support non-Option nullable values in metadata tables 2023-01-23 19:35:03 +04:00
rustc_middle Rollup merge of #105345 - yanchen4791:issue-103582-fix, r=jackh726 2023-01-25 22:19:51 +01:00
rustc_mir_build fix: use LocalDefId instead of HirId in trait res 2023-01-23 11:42:18 +00:00
rustc_mir_dataflow Remove double spaces after dots in comments 2023-01-17 08:09:33 +00:00
rustc_mir_transform Delete SimplifyArmIdentity and SimplifyBranchSame mir opts 2023-01-24 04:13:52 -08:00
rustc_monomorphize Also remove #![feature(control_flow_enum)] where possible 2023-01-18 10:22:21 -08:00
rustc_parse Add suggestion to remove if in let...else block 2023-01-23 20:33:04 -08:00
rustc_parse_format Revert "Improve heuristics whether format_args string is a source literal" 2023-01-18 20:33:17 +01:00
rustc_passes Auto merge of #106810 - oli-obk:resolver_reverse_plumbing, r=petrochenkov 2023-01-19 05:23:40 +00:00
rustc_plugin_impl
rustc_privacy Also remove #![feature(control_flow_enum)] where possible 2023-01-18 10:22:21 -08:00
rustc_query_impl
rustc_query_system Remove double spaces after dots in comments 2023-01-17 08:09:33 +00:00
rustc_resolve Auto merge of #107185 - compiler-errors:rollup-wkomjma, r=compiler-errors 2023-01-22 06:53:36 +00:00
rustc_save_analysis Avoid an unnecessary allocation 2023-01-16 14:46:44 +00:00
rustc_serialize
rustc_session Auto merge of #106810 - oli-obk:resolver_reverse_plumbing, r=petrochenkov 2023-01-19 05:23:40 +00:00
rustc_smir
rustc_span Rollup merge of #105977 - Swatinem:async-mir-context, r=oli-obk 2023-01-19 11:19:34 +01:00
rustc_symbol_mangling Add type flags support for Ty and Const late-bound regions 2023-01-08 03:37:20 +00:00
rustc_target Rollup merge of #106796 - vadorovsky:revert-105708-enable-atomic-cas-bpf, r=bjorn3 2023-01-23 19:29:58 +09:00
rustc_trait_selection Rollup merge of #106897 - estebank:issue-99430, r=davidtwco 2023-01-25 22:19:52 +01:00
rustc_traits fix: use LocalDefId instead of HirId in trait res 2023-01-23 11:42:18 +00:00
rustc_transmute Also remove #![feature(control_flow_enum)] where possible 2023-01-18 10:22:21 -08:00
rustc_ty_utils fix: use LocalDefId instead of HirId in trait res 2023-01-23 11:42:18 +00:00
rustc_type_ir Remove double spaces after dots in comments 2023-01-17 08:09:33 +00:00