about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/llvm_util.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2022-05-09 22:15:30 +0000
committerbors <bors@rust-lang.org>2022-05-09 22:15:30 +0000
commitcb390735b03aa44229ff2858be8fedbd7b0ce7cb (patch)
tree82f01c52f9ff24109fddbfb22f1e34059824d8ca /compiler/rustc_codegen_llvm/src/llvm_util.rs
parent88860d5474a32f507dde8fba8df35fd2064f11b9 (diff)
parent2be012a0c664bf1ee90af0e5cac9a3e3e24f4666 (diff)
downloadrust-cb390735b03aa44229ff2858be8fedbd7b0ce7cb.tar.gz
rust-cb390735b03aa44229ff2858be8fedbd7b0ce7cb.zip
Auto merge of #96838 - tmiasko:lazy-switch-sources, r=oli-obk
Optimize switch sources representation and usage

* Avoid constructing switch sources unless necessary - switch sources are used by backward analysis with a custom switch int edge effects, but are otherwise unnecessarily computed.
* Use sparse representation of switch sources to avoid quadratic space overhead.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/llvm_util.rs')
0 files changed, 0 insertions, 0 deletions