Uh oh!
There was an error while loading. Please reload this page.
partially revertish lazily "compute" anon const default substs - #92805
Conversation
rust-highfive
commented
Jan 12, 2022
Some changes occured to the CTFE / Miri engine cc @rust-lang/miri Some changes occured to rustc_codegen_cranelift cc @bjorn3 Some changes occured to the CTFE / Miri engine cc @rust-lang/miri Some changes occurred in src/tools/clippy. cc @rust-lang/clippy |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
oli-obk
commented
Jan 12, 2022
Why is this getting reverted? |
BoxyUwU
commented
Jan 12, 2022
I knew I forgot something when making this PR.... will add a description explaining the "why" 😅 |
I think we want I never got to filtering the generic params (which is also more difficult than originally assumed) and we will probably implement a different solution for the "unused substs" problem in the future, so keeping these changes doesn't seem too practical for And finally, we don't need any substs filtering for |
oli-obk
commented
Jan 12, 2022
@bors r+ |
bors
commented
Jan 12, 2022
📌 Commit e24b05e122b134496aa76e6b2333b1cbb5b618af has been approved by |
lcnr
commented
Jan 12, 2022
@bors rollup=never this is perf sensitive |
Uh oh!
There was an error while loading. Please reload this page.
RalfJung
commented
Jan 12, 2022
Also some of these commit messages look like they should be fixed before merging.^^ |
1facfa2 to
1312f61Comparelazily "compute" anon const default substslazily "compute" anon const default substs1312f61 to
7e2cf3bCompareUh 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.
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.
9d2a60e to
6899064Comparelcnr
commented
Jan 13, 2022
@bors r+ rollup=never |
bors
commented
Jan 13, 2022
📌 Commit 6899064be3ddaee785686a614179d9ccfd0d66a8 has been approved by |
bors
commented
Jan 14, 2022
☔ The latest upstream changes (presumably #92883) made this pull request unmergeable. Please resolve the merge conflicts. |
6899064 to
3f3a10fCompareBoxyUwU
commented
Jan 15, 2022
@bors r=lcnr rollup=never |
bors
commented
Jan 15, 2022
📌 Commit 3f3a10f has been approved by |
bors
commented
Jan 16, 2022
bors
commented
Jan 16, 2022
☀️ Test successful - checks-actions |
rust-timer
commented
Jan 16, 2022
Finished benchmarking commit (7be8693): comparison url. Summary: This change led to moderate relevant mixed results 🤷 in compiler performance.
If you disagree with this performance assessment, please file an issue in rust-lang/rustc-perf. Next Steps: If you can justify the regressions found in this perf run, please indicate this with @rustbot label: +perf-regression |
lcnr
commented
Jan 17, 2022
seems to mostly mirror the perf results from #87280https://perf.rust-lang.org/compare.html?start=3b5df014390dcef66cc35f968fe51e9558e6ca13&end=22a1bd761de8b0ac85d9ecaae5f262d5798a4409 a bit surprised that the ctfe tests stayed about the same even though they regressed by about 4% in the original pr. it might make some sense to look a bit more into the impact of using `ty::Unevaluated' during type folding. Might get some more perf back in stress tests by adding some inlines there. |
partially revertish `lazily "compute" anon const default substs` reverts #87280 except for some of the changes around `ty::Unevaluated` having a visitor and a generic for promoted why revert: <rust-lang/rust#92805 (comment)> r? `@lcnr`
Needed to adjust stdout for trait_impls, due to new allocator generic parameter for `Vec` and `Box`, decided it wasn't worth a separate commit.
partially revertish `lazily "compute" anon const default substs` reverts #87280 except for some of the changes around `ty::Unevaluated` having a visitor and a generic for promoted why revert: <rust-lang/rust#92805 (comment)> r? `@lcnr`
partially revertish `lazily "compute" anon const default substs` reverts #87280 except for some of the changes around `ty::Unevaluated` having a visitor and a generic for promoted why revert: <rust-lang/rust#92805 (comment)> r? `@lcnr`
reverts #87280 except for some of the changes around
ty::Unevaluatedhaving a visitor and a generic for promotedwhy revert: #92805 (comment)
r? @lcnr