rust/compiler
bors 093b9d5b29 Auto merge of #116533 - cjgillot:skip-trivial-mir, r=oli-obk
Do not run optimizations on trivial MIR.

Fixes https://github.com/rust-lang/rust/issues/116513

The bug was introduced in https://github.com/rust-lang/rust/pull/110728, which put the check too early in the query chain.

cc `@oli-obk` `@ouz-a`
2023-10-09 06:00:23 +00:00
..
rustc
rustc_abi
rustc_arena
rustc_ast Rollup merge of #116223 - catandcoder:master, r=cjgillot 2023-10-05 00:56:29 -07:00
rustc_ast_lowering Rollup merge of #116431 - estebank:issue-80476, r=compiler-errors 2023-10-05 00:56:30 -07:00
rustc_ast_passes
rustc_ast_pretty
rustc_attr Factor out insert_or_error. 2023-10-06 14:57:09 +11:00
rustc_baked_icu_data
rustc_borrowck Auto merge of #114811 - estebank:impl-ambiguity, r=wesleywiser 2023-10-06 18:44:32 +00:00
rustc_builtin_macros
rustc_codegen_cranelift Auto merge of #116487 - tamird:avoid-unwrap-absolute, r=bjorn3 2023-10-08 05:24:16 +00:00
rustc_codegen_gcc
rustc_codegen_llvm Make FnDef 1-ZST in LLVM debuginfo. 2023-10-08 16:42:45 +00:00
rustc_codegen_ssa Auto merge of #116454 - tmiasko:small-dominators, r=cjgillot 2023-10-08 12:38:14 +00:00
rustc_const_eval Auto merge of #115583 - RalfJung:packed-unsized, r=lcnr 2023-10-07 10:57:18 +00:00
rustc_data_structures Optimize dominators for small path graphs 2023-10-05 23:45:59 +02:00
rustc_driver
rustc_driver_impl rustc_driver: avoid fallible conversions 2023-10-06 08:54:14 -04:00
rustc_error_codes Auto merge of #114811 - estebank:impl-ambiguity, r=wesleywiser 2023-10-06 18:44:32 +00:00
rustc_error_messages
rustc_errors Add a note to duplicate diagnostics 2023-10-05 01:04:41 +00:00
rustc_expand Add two setter functions to Features. 2023-10-05 18:01:11 +11:00
rustc_feature Use a closure when setting State::Active. 2023-10-05 19:56:19 +11:00
rustc_fluent_macro
rustc_fs_util
rustc_graphviz
rustc_hir
rustc_hir_analysis Auto merge of #114811 - estebank:impl-ambiguity, r=wesleywiser 2023-10-06 18:44:32 +00:00
rustc_hir_pretty
rustc_hir_typeck Auto merge of #114811 - estebank:impl-ambiguity, r=wesleywiser 2023-10-06 18:44:32 +00:00
rustc_incremental
rustc_index Preserve DebugInfo in DeadStoreElimination. 2023-10-06 15:46:11 +00:00
rustc_infer Auto merge of #114811 - estebank:impl-ambiguity, r=wesleywiser 2023-10-06 18:44:32 +00:00
rustc_interface
rustc_lexer
rustc_lint Rollup merge of #116421 - Urgau:inter-mut-invalid_ref_casting, r=oli-obk 2023-10-06 06:23:48 +02:00
rustc_lint_defs
rustc_llvm fix to register analysis pass from llvm plugin 2023-10-06 12:04:28 +00:00
rustc_log
rustc_macros
rustc_metadata rustc_metadata: use try_canonicalize 2023-10-06 09:54:12 -04:00
rustc_middle Auto merge of #116454 - tmiasko:small-dominators, r=cjgillot 2023-10-08 12:38:14 +00:00
rustc_mir_build Auto merge of #116427 - cjgillot:no-internal, r=oli-obk 2023-10-05 09:59:14 +00:00
rustc_mir_dataflow Preserve DebugInfo in DeadStoreElimination. 2023-10-06 15:46:11 +00:00
rustc_mir_transform Auto merge of #116533 - cjgillot:skip-trivial-mir, r=oli-obk 2023-10-09 06:00:23 +00:00
rustc_monomorphize rustc_monomorphize: Introduce check_fn_args_move_size() 2023-10-07 10:29:37 +02:00
rustc_parse Rollup merge of #116400 - estebank:issue-78585, r=WaffleLapkin 2023-10-06 16:37:47 -07:00
rustc_parse_format
rustc_passes Auto merge of #114811 - estebank:impl-ambiguity, r=wesleywiser 2023-10-06 18:44:32 +00:00
rustc_plugin_impl
rustc_privacy
rustc_query_impl Remove unneeded dependency. 2023-10-06 14:57:09 +11:00
rustc_query_system
rustc_resolve Rename Resolver::active_features. 2023-10-05 18:01:11 +11:00
rustc_serialize Use collect to decode Vec. 2023-10-06 10:30:03 +11:00
rustc_session linker: Remove -Zgcc-ld option 2023-10-08 10:05:25 +03:00
rustc_smir Remove unnecessary pub. 2023-10-06 14:59:11 +11:00
rustc_span Rollup merge of #116474 - nnethercote:rustc_assorted, r=spastorino 2023-10-06 21:17:50 +02:00
rustc_symbol_mangling
rustc_target linker: Remove unstable legacy CLI linker flavors 2023-10-07 21:57:53 +03:00
rustc_trait_selection Auto merge of #114811 - estebank:impl-ambiguity, r=wesleywiser 2023-10-06 18:44:32 +00:00
rustc_traits
rustc_transmute Remove the MaybeTransmutableQuery<&'l Dfa<...>, C> impl. 2023-10-06 11:25:32 +11:00
rustc_ty_utils Auto merge of #116269 - Veykril:rustc-abi, r=WaffleLapkin 2023-10-06 00:03:56 +00:00
rustc_type_ir
stable_mir add span to statements 2023-10-05 11:15:34 +03:00