diff options
| author | bors <bors@rust-lang.org> | 2021-02-22 21:45:50 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2021-02-22 21:45:50 +0000 |
| commit | 11f838d64ae764c6016c2c00f958bec61e9a2691 (patch) | |
| tree | 1867e936500c1b7ce20df1c28d59384bc33fbea1 /compiler/rustc_codegen_llvm/src | |
| parent | a15f484b918a4533ad633ea903ccce82910af342 (diff) | |
| parent | a3659bbe6cfc3ff3a4cd74dd0ff31ad3632534c9 (diff) | |
| download | rust-11f838d64ae764c6016c2c00f958bec61e9a2691.tar.gz rust-11f838d64ae764c6016c2c00f958bec61e9a2691.zip | |
Auto merge of #81978 - tmiasko:head-ctor, r=Mark-Simulacrum
Inline hot part of PatStack::head_ctor When building rustc with `-Codegen-units=1` this inline hint ensures that obtaining already initialized head constructor does not involve a function call overhead and reduces the instruction count in match-stress-enum-check full benchmark from 11.9G to 9.8G. It shouldn't have significant impact on the currently default configuration where it reflects existing inlining decisions.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions
