Uh oh!
There was an error while loading. Please reload this page.
[mir-opt] Implement pass to remove branches on uninhabited variants - #65694
Conversation
wesleywiser
commented
Oct 22, 2019
@bors try |
rust-timer
commented
Oct 22, 2019
Awaiting bors try build completion |
bors
commented
Oct 22, 2019
⌛ Trying commit 9b6965531f0fa200447fa8dcc9e66175c60773fa with merge 04311b4b9a6e180150b8c541c645e47af3f124a0... |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
bors
commented
Oct 22, 2019
☀️ Try build successful - checks-azure |
rust-timer
commented
Oct 22, 2019
Queued 04311b4b9a6e180150b8c541c645e47af3f124a0 with parent 50ffa79, future comparison URL. |
rust-timer
commented
Oct 22, 2019
Finished benchmarking try commit 04311b4b9a6e180150b8c541c645e47af3f124a0, comparison URL. |
wesleywiser
commented
Oct 23, 2019
I think this is about what I was expecting to see. I doubt the benchmarked crates use many enums with uninhabited variants so there isn't much potential for speedup. However, we do see that the pass isn't expensive to run even when it doesn't apply. I will apply @Centril's review feedback and force push. |
9b69655 to
c4b7336Comparewesleywiser
commented
Oct 24, 2019
Fixed & pushed changes |
bors
commented
Oct 25, 2019
☔ The latest upstream changes (presumably #65804) made this pull request unmergeable. Please resolve the merge conflicts. |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
61ed957 to
2c1c8a4Comparewesleywiser
commented
Oct 30, 2019
@bors try @rust-timer queue |
rust-timer
commented
Oct 30, 2019
Awaiting bors try build completion |
bors
commented
Oct 30, 2019
…<try> [mir-opt] Implement pass to remove branches on uninhabited variants Based on discussion [here](#64890 (comment)), this is a pass to eliminate dead code that is caused by branching on an enum with uninhabited variants. r? @oli-obk
bors
commented
Oct 30, 2019
☀️ Try build successful - checks-azure |
rust-timer
commented
Oct 30, 2019
Queued f9d5de7 with parent aa69777, future comparison URL. |
rust-timer
commented
Oct 30, 2019
Finished benchmarking try commit f9d5de7, comparison URL. |
joelpalmer
commented
Nov 4, 2019
Ping from Triage: any updates @wesleywiser@oli-obk? |
wesleywiser
commented
Nov 4, 2019
@joelpalmer@oli-obk is on vacation this week so it will probably be next week before they can give a final review. |
2c1c8a4 to
cbe2f60CompareUh oh!
There was an error while loading. Please reload this page.
oli-obk
commented
Nov 9, 2019
@bors r+ |
bors
commented
Nov 9, 2019
📌 Commit cbe2f60 has been approved by |
bors
commented
Nov 9, 2019
…oli-obk [mir-opt] Implement pass to remove branches on uninhabited variants Based on discussion [here](#64890 (comment)), this is a pass to eliminate dead code that is caused by branching on an enum with uninhabited variants. r? @oli-obk
bors
commented
Nov 10, 2019
☀️ Test successful - checks-azure |
Based on discussion here, this is a pass to eliminate dead code that is caused by branching on an enum with uninhabited variants.
r? @oli-obk