rust/compiler/rustc_middle
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
..
benches
src Auto merge of #79547 - erikdesjardins:byval, r=nagisa 2020-12-02 15:17:32 +00:00
Cargo.toml Address review comment and update chalk to 0.36.0 2020-10-30 19:39:33 +00:00
README.md

For more information about how rustc works, see the rustc dev guide.