about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm
diff options
context:
space:
mode:
authorTomasz Miąsko <tomasz.miasko@gmail.com>2022-05-08 00:00:00 +0000
committerTomasz Miąsko <tomasz.miasko@gmail.com>2022-05-08 23:14:56 +0200
commitfbc3cc18bee7fb6dfd39e11521783f00506ca06b (patch)
tree56119a80bd6442a7cf3c5a463f1c009d2ae85dc3 /compiler/rustc_codegen_llvm
parent83322c557fcaa9b6750955ceb6b9591df6c53a65 (diff)
downloadrust-fbc3cc18bee7fb6dfd39e11521783f00506ca06b.tar.gz
rust-fbc3cc18bee7fb6dfd39e11521783f00506ca06b.zip
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.

Delay the computation until we know that switch sources are indeed
required and avoid the computation otherwise.
Diffstat (limited to 'compiler/rustc_codegen_llvm')
0 files changed, 0 insertions, 0 deletions