Uh oh!
There was an error while loading. Please reload this page.
[const-prop] Handle remaining MIR Rvalue cases - #64890
Conversation
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
d8549cb to
4982daeCompareUh oh!
There was an error while loading. Please reload this page.
oli-obk
commented
Sep 30, 2019
just a formatting nit, then this lgtm. |
c3cdb89 to
5804c3bCompareoli-obk
commented
Sep 30, 2019
@bors r+ |
bors
commented
Sep 30, 2019
📌 Commit 5804c3b has been approved by |
…i-obk [const-prop] Handle remaining MIR Rvalue cases r? @oli-obk
…i-obk [const-prop] Handle remaining MIR Rvalue cases r? @oli-obk
…i-obk [const-prop] Handle remaining MIR Rvalue cases r? @oli-obk
Centril
commented
Oct 1, 2019
(Speculation) Failed in #64955 (comment), @bors r- |
bjorn3
commented
Oct 1, 2019
Assertion location: rust/src/librustc_mir/interpret/place.rs Line 1032 in 702b45e |
joelpalmer
commented
Oct 7, 2019
Ping from Triage: any updates @wesleywiser? |
wesleywiser
commented
Oct 8, 2019
Got married this weekend; I'll probably get back to this later this week :) |
wesleywiser
commented
Oct 9, 2019
@oli-obk Pushed a fix. Let me know what you think. |
wesleywiser
commented
Oct 18, 2019
A mir-opt test I added failed because wasm doesn't support unwinding. I'll fix this tonight. |
883148b to
fd20dbeComparewesleywiser
commented
Oct 18, 2019
Added ignore-{wasm,enscripten} to the box test. @bors r=oli-obk |
bors
commented
Oct 18, 2019
📌 Commit fd20dbe has been approved by |
bors
commented
Oct 19, 2019
⌛ Testing commit fd20dbe with merge bf46d1b81e0f1be41abd66dabb21515f6d0bfdc7... |
Centril
commented
Oct 19, 2019
@bors rollup=never retry yielding to r0llup |
bors
commented
Oct 19, 2019
⌛ Testing commit fd20dbe with merge 662301e2a9170f3aba36b6f4df7fec1309606866... |
Centril
commented
Oct 19, 2019
@bors retry yielding to r0llup |
bors
commented
Oct 19, 2019
[const-prop] Handle remaining MIR Rvalue cases r? @oli-obk
bors
commented
Oct 19, 2019
☀️ Test successful - checks-azure |
…eywiser clarify const_prop ICE protection comment This is based on discussion at https://github.com/rust-lang/rust/pull/64890/files#r334555787. That said, why are function arguments the only unsized locals that could remain uninitialized? Couldn't we also fail to initialize some local but still go on with const_prop, and then hit a line that takes a reference to that? Cc @wesleywiser@oli-obk ; I don't know enough about const-prop to understand why this can happen only for function arguments. ~~The PR includes rust-lang#64890; the only new commit is 05e4e6ba0d5.~~
…<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
…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
r? @oli-obk