Uh oh!
There was an error while loading. Please reload this page.
Use MaybeUninit in libcore - #54668
Conversation
rust-highfive
commented
Sep 29, 2018
r? @dtolnay (rust_highfive has picked a reviewer for you, use r? to override) |
RalfJung
commented
Sep 29, 2018
@bors try |
bors
commented
Sep 29, 2018
⌛ Trying commit 5f7792bf46e67c5e2277dbf3644e4ba5b34fac0f with merge 5e4ca24261a1348f3242d6885c8a286182b958b2... |
b80c934 to
e51b814CompareRalfJung
commented
Sep 29, 2018
(Looks like try is done but there was no notification about that? @rust-lang/infra ) @rust-timer build 5e4ca24261a1348f3242d6885c8a286182b958b2 |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
RalfJung
commented
Sep 29, 2018
@rust-timer build 5e4ca24261a1348f3242d6885c8a286182b958b2 (And there is no good way to copy-paste the commit SHA in one step) |
rust-timer
commented
Sep 29, 2018
Success: Queued 5e4ca24261a1348f3242d6885c8a286182b958b2 with parent 7e7bc06, comparison URL. |
dtolnay
commented
Sep 29, 2018
r? @RalfJung |
RalfJung
commented
Sep 29, 2018
@dtolnay Eh, I submitted this. I do not think I should review it.^^ |
dtolnay
commented
Sep 29, 2018
RalfJung
commented
Sep 29, 2018
I wasn't aware of a policy for re-submissions of reverted PRs that would let me r+ this even though I assembled the commits. And anyway I expect this PR will need changes because there will be perf regressions. But let's see. |
Valinora
commented
Sep 30, 2018
Perf results are in, this definitely looks to be the source of the regression. |
@RalfJung I don't know if this helps, but I don't see anything suspicious with this PR, so maybe the issue causing the regression is not here? One "suspicious" thing is that the regression happens in If you look at the disassembly of these tests and see a |
RalfJung
commented
Oct 2, 2018
It's methods are generic though so
Where are you getting that from? Unfortunately I will not have much time to work on this this week. |
gnzlbg
commented
Oct 2, 2018
Indeed. The only way in which that could make a difference is if they call a non-generic function that is not
I thought most of the changes here were in |
e51b814 to
a573bfcCompareRalfJung
commented
Oct 8, 2018
I might be doing the wrong thing, but I failed to reproduce the perf regression... in fact, |
ogoffart
commented
Nov 21, 2018
If I read the number correctly, the "-check" benchmark does not seem to be impacted. The red numbers are only in the "-opt" and "-debug" benchmarks |
rust-timer
commented
Nov 21, 2018
Finished benchmarking try commit 4fe0b8e11185e30d88ba5f5060aadf25b5236ea0 |
Fix invalid bitcast taking bool out of a union represented as a scalar As reported in rust-lang#54668 (comment)
Code by @japaric, I just split it into individual commits
Code by @japaric, I just split it into individual commits
Code by @japaric, I just split it into individual commits
Code by @japaric, I just split it into individual commits
Code by @japaric, I just split it into individual commits
Code by @japaric, I just split it into individual commits
c400e50 to
59786b0CompareRalfJung
commented
Nov 23, 2018
Unions got fixed, I rebased this PR. So, can we land this? |
ogoffart
left a comment
There was a problem hiding this comment.
(I'm in no position to review, but i see no problem with this, and since it is required to stabilize MaybeUnitit, it'd be great to have it in as early as possible)
SimonSapin
commented
Nov 26, 2018
@bors r+ |
bors
commented
Nov 26, 2018
📌 Commit 59786b0 has been approved by |
bors
commented
Nov 26, 2018
bors
commented
Nov 27, 2018
☀️ Test successful - status-appveyor, status-travis |
gnzlbg
commented
Nov 27, 2018
Finally, awesome, thanks! |
All code by @japaric. This re-submits the second half of #53508 (the first half is at #54667). This is likely the one containing the perf regression.