Uh oh!
There was an error while loading. Please reload this page.
Work around a resolve bug in const prop - #67631
Conversation
wesleywiser
commented
Dec 26, 2019
@bors r+ Thanks! |
bors
commented
Dec 26, 2019
📌 Commit 652cec1 has been approved by |
wesleywiser
commented
Dec 26, 2019
@bors r+ |
bors
commented
Dec 26, 2019
📌 Commit 3ab0663 has been approved by |
anp
commented
Dec 26, 2019
Confirmed that this will unblock #67137. Thank you!!! |
…sleywiser Work around a resolve bug in const prop r? @wesleywiser@anp This isn't exposed right now, but further changes to rustc may start causing bugs without this.
…sleywiser Work around a resolve bug in const prop r? @wesleywiser@anp This isn't exposed right now, but further changes to rustc may start causing bugs without this.
wesleywiser
commented
Dec 27, 2019
@bors r- |
oli-obk
commented
Dec 27, 2019
Let's not do the hack, since @wesleywiser has a real fix |
We only want to return specializations when `Reveal::All` is passed, not when `Reveal::UserFacing` is. Resolving this fixes several issues with the `ConstProp`, `SimplifyBranches`, and `Inline` MIR optimization passes. Fixesrust-lang#66901
anp
commented
Dec 27, 2019
Ping on #67662 (comment):
|
wesleywiser
commented
Dec 27, 2019
@bors r+ |
bors
commented
Dec 27, 2019
📌 Commit 3ab0663 has been approved by |
oli-obk
commented
Dec 27, 2019
@bors r- I still want to do the warning thing |
3ab0663 to
5fd8abdCompareI added one more commit @wesleywiser It should permit #67137 to not cause a breaking change related to diverging constants, and additionally give us new |
anp
commented
Dec 29, 2019
Confirmed that this gets my test passing! |
wesleywiser
commented
Dec 29, 2019
@bors r+ |
bors
commented
Dec 29, 2019
📌 Commit 5fd8abd has been approved by |
…sleywiser Work around a resolve bug in const prop r? @wesleywiser@anp This isn't exposed right now, but further changes to rustc may start causing bugs without this.
bors
commented
Dec 30, 2019
Work around a resolve bug in const prop r? @wesleywiser@anp This isn't exposed right now, but further changes to rustc may start causing bugs without this.
bors
commented
Dec 30, 2019
☀️ Test successful - checks-azure |
mati865
commented
Dec 30, 2019
Is this 1% regression (5% on ctfe) expected? |
wesleywiser
commented
Dec 30, 2019
Looks like we're potentially calling |
oli-obk
commented
Dec 30, 2019
But only in the |
|
Add some regression tests Closesrust-lang#64848 (fixed by rust-lang#67631) Closesrust-lang#65918 (ICE is hidden by rust-lang#67000, no longer ICE) Closesrust-lang#66473 (fixed by rust-lang#68084) Closesrust-lang#67550 (set mir-opt-level to 3) r? @Centril
r? @wesleywiser@anp
This isn't exposed right now, but further changes to rustc may start causing bugs without this.