about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
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
commitc512a221c23f3f7b98a38ab5fd81784b318d1663 (patch)
treef4be17504b01306f49285144a13e4dfa357bbce2 /compiler/rustc_codegen_llvm/src
parentc16ba359b5549a31c79f6a113a06d42209e36efe (diff)
parent5a8943649a2e0c5c11c7a8f93bcd00c7b8316c1b (diff)
downloadrust-c512a221c23f3f7b98a38ab5fd81784b318d1663.tar.gz
rust-c512a221c23f3f7b98a38ab5fd81784b318d1663.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 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions