about summary refs log tree commit diff
path: root/library/std/src/lib.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-10-16 09:45:05 +0000
committerbors <bors@rust-lang.org>2024-10-16 09:45:05 +0000
commitd829780c4e4ef11f5e09c1c5ed9684c12aad7236 (patch)
tree380882c2c29ba4749f2c570ffb79664c53243646 /library/std/src/lib.rs
parent1f67a7aa8d5b30c43c28ed9b2621cf4b7b8bb963 (diff)
parent33abf6a0c8b9a051c06dcb43935f3e15c96ade45 (diff)
downloadrust-d829780c4e4ef11f5e09c1c5ed9684c12aad7236.tar.gz
rust-d829780c4e4ef11f5e09c1c5ed9684c12aad7236.zip
Auto merge of #131481 - nnethercote:rm-GenKillSet, r=cjgillot
Remove `GenKillAnalysis`

There are two kinds of dataflow analysis in the compiler: `Analysis`, which is the basic kind, and `GenKillAnalysis`, which is a more specialized kind for gen/kill analyses that is intended as an optimization. However, it turns out that `GenKillAnalysis` is actually a  pessimization! It's faster (and much simpler) to do all the gen/kill analyses via `Analysis`. This lets us remove `GenKillAnalysis`, and `GenKillSet`, and a few other things, and also merge `AnalysisDomain` into `Analysis`. The PR removes 500 lines of code and improves performance.

r? `@tmiasko`
Diffstat (limited to 'library/std/src/lib.rs')
0 files changed, 0 insertions, 0 deletions