rust/compiler
bors a094ff9590 Auto merge of #79547 - erikdesjardins:byval, r=nagisa
Pass arguments up to 2*usize by value

In https://github.com/rust-lang/rust/pull/77434#discussion_r498719533, `@eddyb` said:

> I wonder if it makes sense to limit this to returns [...]

Let's do a perf run and find out.

It seems the `extern "C"` ABI will pass arguments up to 2*usize in registers: https://godbolt.org/z/n8E6zc. (modified from https://github.com/rust-lang/rust/issues/26494#issuecomment-619506345)

r? `@nagisa`
2020-12-02 15:17:32 +00:00
..
rustc
rustc_apfloat
rustc_arena
rustc_ast Add documentation for name_value_literal_span methods 2020-12-01 17:32:14 +01:00
rustc_ast_lowering
rustc_ast_passes Auto merge of #78296 - Aaron1011:fix/stmt-tokens, r=petrochenkov 2020-11-28 07:48:56 +00:00
rustc_ast_pretty
rustc_attr Created NestedMetaItem::name_value_literal_span method 2020-12-01 16:26:51 +01:00
rustc_builtin_macros
rustc_codegen_cranelift
rustc_codegen_llvm Auto merge of #78684 - devsnek:inline-asm-wasm, r=Amanieu 2020-12-01 20:23:06 +00:00
rustc_codegen_ssa Rollup merge of #79508 - jryans:check-dsymutil-result, r=nagisa 2020-12-01 23:46:09 +01:00
rustc_data_structures
rustc_driver
rustc_error_codes
rustc_errors
rustc_expand Created NestedMetaItem::name_value_literal_span method 2020-12-01 16:26:51 +01:00
rustc_feature
rustc_fs_util
rustc_graphviz
rustc_hir
rustc_hir_pretty
rustc_incremental Auto merge of #74967 - Aaron1011:feature/incr-def-path-table, r=pnkfelix 2020-12-01 14:30:02 +00:00
rustc_index
rustc_infer
rustc_interface Auto merge of #74967 - Aaron1011:feature/incr-def-path-table, r=pnkfelix 2020-12-01 14:30:02 +00:00
rustc_lexer
rustc_lint Auto merge of #78864 - Mark-Simulacrum:warn-on-forbids, r=pnkfelix 2020-12-02 02:07:45 +00:00
rustc_lint_defs lint-docs: Add --validate flag to validate lint docs separately. 2020-11-28 13:39:02 -08:00
rustc_llvm Auto merge of #78684 - devsnek:inline-asm-wasm, r=Amanieu 2020-12-01 20:23:06 +00:00
rustc_macros
rustc_metadata Auto merge of #74967 - Aaron1011:feature/incr-def-path-table, r=pnkfelix 2020-12-01 14:30:02 +00:00
rustc_middle Auto merge of #79547 - erikdesjardins:byval, r=nagisa 2020-12-02 15:17:32 +00:00
rustc_mir Auto merge of #78296 - Aaron1011:fix/stmt-tokens, r=petrochenkov 2020-11-28 07:48:56 +00:00
rustc_mir_build Don't store ty and span in IntRange 2020-11-28 22:07:15 +00:00
rustc_parse Auto merge of #79329 - camelid:int-lit-suffix-error, r=davidtwco 2020-11-30 01:42:14 +00:00
rustc_parse_format
rustc_passes Improve some attributes error spans 2020-12-01 16:26:51 +01:00
rustc_plugin_impl
rustc_privacy
rustc_query_system
rustc_resolve
rustc_save_analysis
rustc_serialize
rustc_session Rollup merge of #79508 - jryans:check-dsymutil-result, r=nagisa 2020-12-01 23:46:09 +01:00
rustc_span Rollup merge of #79464 - GuillaumeGomez:doc-keyword-ident, r=jyn514 2020-11-29 03:14:21 +01:00
rustc_symbol_mangling
rustc_target Auto merge of #78684 - devsnek:inline-asm-wasm, r=Amanieu 2020-12-01 20:23:06 +00:00
rustc_trait_selection Ignore trait implementations with negative polarity when suggesting trait implementations in diagnostics 2020-12-01 13:30:08 -06:00
rustc_traits
rustc_ty_utils Be cautious of calling upvar_tys before mir 2020-11-29 19:20:28 -05:00
rustc_typeck Auto merge of #79209 - spastorino:trait-inheritance-self, r=nikomatsakis 2020-11-29 21:04:23 +00:00