-
Couldn't load subscription status.
- Fork 13.9k
Remove ValueAnalysis and ValueAnalysisWrapper.
#132347
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Some changes occurred to MIR optimizations cc @rust-lang/wg-mir-opt |
This comment has been minimized.
This comment has been minimized.
a391e0f to
ae81787
Compare
|
☔ The latest upstream changes (presumably #132349) made this pull request unmergeable. Please resolve the merge conflicts. |
|
r=me after rebase |
ae81787 to
edef792
Compare
|
I rebased. @bors r=cjgillot rollup |
…r, r=cjgillot Remove `ValueAnalysis` and `ValueAnalysisWrapper`. They represent a lot of abstraction and indirection, but they're only used for `ConstAnalysis`, and apparently won't be used for any other analyses in the future. This commit inlines and removes them, which makes `ConstAnalysis` easier to read and understand. r? `@cjgillot`
…kingjubilee Rollup of 5 pull requests Successful merges: - rust-lang#129383 (Remap impl-trait lifetimes on HIR instead of AST lowering) - rust-lang#132210 (rustdoc: make doctest span tweak a 2024 edition change) - rust-lang#132246 (Rename `rustc_abi::Abi` to `BackendRepr`) - rust-lang#132267 (force-recompile library changes on download-rustc="if-unchanged") - rust-lang#132344 (Merge `HostPolarity` and `BoundConstness`) Failed merges: - rust-lang#132347 (Remove `ValueAnalysis` and `ValueAnalysisWrapper`.) r? `@ghost` `@rustbot` modify labels: rollup
|
☔ The latest upstream changes (presumably #132371) made this pull request unmergeable. Please resolve the merge conflicts. |
They represent a lot of abstraction and indirection, but they're only used for `ConstAnalysis`, and apparently won't be used for any other analyses in the future. This commit inlines and removes them, which makes `ConstAnalysis` easier to read and understand.
edef792 to
846e20c
Compare
|
I rebased. @bors r=cjgillot |
…iaskrgr Rollup of 4 pull requests Successful merges: - rust-lang#132347 (Remove `ValueAnalysis` and `ValueAnalysisWrapper`.) - rust-lang#132365 (pass `RUSTC_HOST_FLAGS` at once without the for loop) - rust-lang#132366 (Do not enforce `~const` constness effects in typeck if `rustc_do_not_const_check`) - rust-lang#132376 (Annotate `input` reference tests) r? `@ghost` `@rustbot` modify labels: rollup
Rollup merge of rust-lang#132347 - nnethercote:rm-ValueAnalysisWrapper, r=cjgillot Remove `ValueAnalysis` and `ValueAnalysisWrapper`. They represent a lot of abstraction and indirection, but they're only used for `ConstAnalysis`, and apparently won't be used for any other analyses in the future. This commit inlines and removes them, which makes `ConstAnalysis` easier to read and understand. r? `@cjgillot`
They represent a lot of abstraction and indirection, but they're only used for
ConstAnalysis, and apparently won't be used for any other analyses in the future. This commit inlines and removes them, which makesConstAnalysiseasier to read and understand.r? @cjgillot