Uh oh!
There was an error while loading. Please reload this page.
Optimize const value interning for ZST types - #78061
Conversation
Interning can skip any inhabited ZST type in general.
wesleywiser
commented
Oct 17, 2020
@bors try @rust-timer queue |
rust-timer
commented
Oct 17, 2020
Awaiting bors try build completion |
bors
commented
Oct 17, 2020
⌛ Trying commit 1d07d69 with merge 25cf147f8ee183a6b207e49e0339d8189e8e9280... |
bors
commented
Oct 17, 2020
☀️ Try build successful - checks-actions, checks-azure |
rust-timer
commented
Oct 17, 2020
Queued 25cf147f8ee183a6b207e49e0339d8189e8e9280 with parent ffeeb20, future comparison URL. |
rust-timer
commented
Oct 18, 2020
Finished benchmarking try commit (25cf147f8ee183a6b207e49e0339d8189e8e9280): comparison url. Benchmarking this pull request likely means that it is perf-sensitive, so we're automatically marking it as not fit for rolling up. Please note that if the perf results are neutral, you should likely undo the rollup=never given below by specifying Importantly, though, if the results of this run are non-neutral do not roll this PR up -- it will mask other regressions or improvements in the roll up. @bors rollup=never |
oli-obk
commented
Oct 20, 2020
@bors r+ rollup |
bors
commented
Oct 20, 2020
📌 Commit 1d07d69 has been approved by |
Uh oh!
There was an error while loading. Please reload this page.
oli-obk
commented
Oct 20, 2020
Can you check whether this also fixes #77062? |
…, r=oli-obk Optimize const value interning for ZST types Interning can skip any inhabited ZST type in general. Fixesrust-lang#68010 r? @oli-obk
…laumeGomez Rollup of 9 pull requests Successful merges: - rust-lang#78046 (Add codegen test for issue rust-lang#73827) - rust-lang#78061 (Optimize const value interning for ZST types) - rust-lang#78070 (we can test std and core panic macros together) - rust-lang#78076 (Move orphan module-name/mod.rs files into module-name.rs files) - rust-lang#78129 (Wrapping intrinsics doc links update.) - rust-lang#78133 (Add some MIR-related regression tests) - rust-lang#78144 (Don't update `entries` in `TypedArena` if T does not need drop) - rust-lang#78145 (Drop unneeded `mut`) - rust-lang#78157 (Remove unused type from librustdoc) Failed merges: r? `@ghost`
wesleywiser
commented
Oct 21, 2020
Good call! That's fixed too. I'll open another PR with the test case added. |
| } | ||
| } | ||
| // ZSTs do not need validation unless they're uninhabited |
There was a problem hiding this comment.
This is not validation, this is interning, so I find the comment here rather confusing.
There was a problem hiding this comment.
I think actually we can skip even uninhabited ZST, precisely because this is not validation but just looking for pointers: #78179.
Interning can skip any inhabited ZST type in general.
Fixes#68010
r? @oli-obk