rust/compiler
Jonas Schievink fa200cec88
Rollup merge of #77525 - tmiasko:nrvo-2, r=jonas-schievink
Enable RenameReturnPlace MIR optimization on mir-opt-level >= 2

The destination propagation as currently implemented does not supersede the NRVO, e.g., the destination propagation never applies if either local has an address taken, while NRVO might.

Additionally, the issue with failing assertions had been already resolved.

Continue running both optimizations at mir-opt-level >= 2.
2020-10-04 15:45:50 +02:00
..
rustc just max_level_info 2020-09-11 09:37:51 -07:00
rustc_apfloat Backport another LLVM commit to rustc_apfloat 2020-10-04 02:02:25 +02:00
rustc_arena Remove unused #[allow(...)] statements from compiler/ 2020-09-26 01:25:55 +02:00
rustc_ast tidy 2020-09-23 22:08:30 +02:00
rustc_ast_lowering simplfy condition in ItemLowerer::with_trait_impl_ref() 2020-09-16 23:09:57 +02:00
rustc_ast_passes use matches!() macro for simple if let conditions 2020-09-18 20:28:35 +02:00
rustc_ast_pretty Fully integrate token collection for additional AST structs 2020-09-10 17:58:14 -04:00
rustc_attr Remove rustc_allow_const_fn_ptr 2020-09-27 10:46:41 -07:00
rustc_builtin_macros expand: Stop un-interpolating NtIdents before passing them to built-in macros 2020-09-28 23:10:44 +03:00
rustc_codegen_llvm Rollup merge of #77521 - bjorn3:target_feature_whitelist, r=lcnr 2020-10-04 15:45:48 +02:00
rustc_codegen_ssa Rollup merge of #77521 - bjorn3:target_feature_whitelist, r=lcnr 2020-10-04 15:45:48 +02:00
rustc_data_structures Stable hashing: add comments and tests concerning platform-independence 2020-09-30 00:57:35 -07:00
rustc_driver Rollup merge of #75143 - oli-obk:tracing, r=RalfJung 2020-10-04 11:44:49 +09:00
rustc_error_codes Create E0777 error code for "invalid literal in derive" 2020-10-01 20:41:57 +02:00
rustc_errors /nightly/nightly-rustc 2020-09-23 21:51:56 +02:00
rustc_expand Improve E0777 help message 2020-10-02 16:33:44 +02:00
rustc_feature Implement Make handle_alloc_error default to panic (for no_std + liballoc) 2020-10-02 09:00:29 +02:00
rustc_fs_util mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
rustc_graphviz /nightly/nightly-rustc 2020-09-23 21:51:56 +02:00
rustc_hir Auto merge of #76955 - jyn514:refactor-diagnostics, r=euclio 2020-09-27 08:12:29 +00:00
rustc_hir_pretty mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
rustc_incremental /nightly/nightly-rustc 2020-09-23 21:51:56 +02:00
rustc_index cache types during normalization 2020-09-19 17:27:13 +02:00
rustc_infer Revert "Add an unused field of type Option<DefId> to ParamEnv struct." 2020-09-26 21:01:09 -07:00
rustc_interface Add -Zprecise-enum-drop-elaboration 2020-10-01 11:31:43 -07:00
rustc_lexer Fix typo in rustc_lexer docs 2020-09-21 05:43:39 +02:00
rustc_lint Uplift drop-bounds lint from clippy 2020-10-01 12:06:33 -07:00
rustc_llvm Update LLVM and add Unsupported diagnostic 2020-09-30 14:57:37 +01:00
rustc_macros Remove unused #[allow(...)] statements from compiler/ 2020-09-26 01:25:55 +02:00
rustc_metadata rustc_metadata: Do not forget to encode inherent impls for foreign types 2020-09-30 22:58:35 +03:00
rustc_middle Rollup merge of #77190 - jakevossen5:master, r=eddyb 2020-10-04 11:44:59 +09:00
rustc_mir Rollup merge of #75143 - oli-obk:tracing, r=RalfJung 2020-10-04 11:44:49 +09:00
rustc_mir_build Speed up IntRange::from_pat 2020-09-26 20:00:54 -07:00
rustc_parse Rollup merge of #77444 - estebank:pat-field-label, r=davidtwco 2020-10-02 20:27:16 +02:00
rustc_parse_format /nightly/nightly-rustc 2020-09-23 21:51:56 +02:00
rustc_passes Auto merge of #76448 - haraldh:default_alloc_error_handler_reduced, r=Amanieu 2020-10-04 08:56:05 +00:00
rustc_plugin_impl /nightly/nightly-rustc 2020-09-23 21:51:56 +02:00
rustc_privacy /nightly/nightly-rustc 2020-09-23 21:51:56 +02:00
rustc_query_system update the version of itertools and parking_lot 2020-09-12 08:26:53 +02:00
rustc_resolve Rollup merge of #77421 - petrochenkov:globtravel, r=nagisa 2020-10-03 00:31:16 +02:00
rustc_save_analysis /nightly/nightly-rustc 2020-09-23 21:51:56 +02:00
rustc_serialize Deduplicate and generalize some (de/)serializer impls 2020-09-26 14:55:42 +02:00
rustc_session Add -Zprecise-enum-drop-elaboration 2020-10-01 11:31:43 -07:00
rustc_span Implement Make handle_alloc_error default to panic (for no_std + liballoc) 2020-10-02 09:00:29 +02:00
rustc_symbol_mangling Permit ty::Bool in const generics for v0 mangling 2020-10-02 09:45:48 -04:00
rustc_target Returns values up to 2*usize by value 2020-10-02 00:23:25 +02:00
rustc_trait_selection Rollup merge of #77305 - lcnr:candidate_from_obligation, r=davidtwco 2020-10-01 02:13:37 +02:00
rustc_traits Update chalk to 0.29.0 2020-09-27 15:54:07 +02:00
rustc_ty Rollup merge of #77155 - lcnr:ImplSource, r=ecstatic-morse 2020-09-25 19:42:48 +02:00
rustc_typeck Auto merge of #77372 - jonas-schievink:rollup-e5bdzga, r=jonas-schievink 2020-09-30 20:49:27 +00:00