-
Notifications
You must be signed in to change notification settings - Fork 12.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rollup of 19 pull requests #47748
Rollup of 19 pull requests #47748
Conversation
Old implementation called the assembler once per crate, but we need to call it for each object file instead, because a single crate can now have more than one object file. This patch fixes issue rust-lang#45836 (Can't compile core for msp430 in release mode)
This addresses the concern of rust-lang#47316 by estimating CGU size based on the size of its MIR. Looking at the size estimate differences for a small selection of crates, this heuristic produces different orderings, which should more accurately reflect optimisation time. Fixes rust-lang#47316.
Also a little bit of clean up.
Arrays of uninhabited types were considered to also be uninhabited if their length had not been evaluated, causing unsoundness.
Unstable sort was added recently, and the code that is being modified is 3 years old. As quicksort doesn't allocate it will likely perform as well as, or better than linear search.
It turns out that this *can* happen after all, if the region is only used in projections from the input types.
⌛ Testing commit c915e3a with merge d0121328dabef6bda79acb845d233b2c3cc0dc7e... |
@bors: retry |
⌛ Testing commit c915e3a with merge cfe81f291317a8c9d6d3044cbe55fa1773004782... |
@bors: r+ |
📌 Commit 9bb1823 has been approved by |
⌛ Testing commit 9bb1823 with merge e91e190e7a65f688106f1cea6686a1b8f836d973... |
💔 Test failed - status-travis |
@bors: r+ |
📌 Commit a06d333 has been approved by |
☀️ Test successful - status-appveyor, status-travis |
-C lto=val
option #47521