Uh oh!
There was an error while loading. Please reload this page.
[MIR] improve operand lifetimes - #40133
Conversation
arielb1
commented
Feb 27, 2017
cc @nagisa |
eddyb
commented
Feb 27, 2017
@bors r+ |
bors
commented
Feb 27, 2017
📌 Commit 7f8529d has been approved by |
eddyb
commented
Feb 28, 2017
@bors r- |
arielb1
commented
Feb 28, 2017
@bors r=eddyb |
bors
commented
Feb 28, 2017
📌 Commit e4458de has been approved by |
[MIR] improve operand lifetimes r? @eddyb
frewsxcv
commented
Mar 2, 2017
Could this failure be related? #40211 (comment) |
frewsxcv
commented
Mar 2, 2017
Yes, Travis in this PR also has the fail @bors r- |
This reduces the number of dynamic drops in libstd from 1141 to 899. However, without this change, the next patch would have created much more dynamic drops. A basic merge unswitching hack reduced the number of dynamic drops to 644, with no effect on stack usage. I should be writing a more dedicated drop unswitching pass. No performance measurements.
arielb1
commented
Mar 3, 2017
@bors r=eddyb |
bors
commented
Mar 3, 2017
📌 Commit 31faaf2 has been approved by |
bors
commented
Mar 3, 2017
⌛ Testing commit 31faaf2 with merge d6e5b10... |
bors
commented
Mar 3, 2017
💔 Test failed - status-appveyor |
In MIR construction, operands need to live exactly until they are used, which is during the (sub)expression that made the call to `as_operand`. Before this PR, operands lived until the end of the temporary scope, which was sometimes unnecessarily longer and sometimes too short. Fixesrust-lang#38669.
arielb1
commented
Mar 3, 2017
Rebase damage. @bors r=eddyb |
bors
commented
Mar 3, 2017
💡 This pull request was already approved, no need to approve it again.
|
bors
commented
Mar 3, 2017
📌 Commit 31faaf2 has been approved by |
arielb1
commented
Mar 3, 2017
arielb1
commented
Mar 3, 2017
@bors r- |
arielb1
commented
Mar 3, 2017
@bors r=eddyb |
bors
commented
Mar 3, 2017
📌 Commit f99f1f8 has been approved by |
bors
commented
Mar 3, 2017
⌛ Testing commit f99f1f8 with merge b2a424f... |
bors
commented
Mar 3, 2017
💔 Test failed - status-appveyor |
arielb1
commented
Mar 3, 2017
Looks spurious @bors retry |
bors
commented
Mar 3, 2017
[MIR] improve operand lifetimes r? @eddyb
bors
commented
Mar 3, 2017
☀️ Test successful - status-appveyor, status-travis |
r? @eddyb