about summary refs log tree commit diff
path: root/compiler/rustc_transmute/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-05-24 16:18:21 +0000
committerbors <bors@rust-lang.org>2023-05-24 16:18:21 +0000
commit97d328012b9ed9b7d481c40e84aa1f2c65b33ec8 (patch)
tree004ab106803c96f912f254b85c7d62b8ee16e453 /compiler/rustc_transmute/src
parentb3cbf7c8351dd48dc2e07a1cdc69620f8e40dd2f (diff)
parent7c8f29f02c279acfa7b0c353e2187ad268e25de8 (diff)
downloadrust-97d328012b9ed9b7d481c40e84aa1f2c65b33ec8.tar.gz
rust-97d328012b9ed9b7d481c40e84aa1f2c65b33ec8.zip
Auto merge of #111673 - cjgillot:dominator-preprocess, r=cjgillot,tmiasko
Preprocess and cache dominator tree

Preprocessing dominators has a very strong effect for https://github.com/rust-lang/rust/pull/111344.
That pass checks that assignments dominate their uses repeatedly. Using the unprocessed dominator tree caused a quadratic runtime (number of bbs x depth of the dominator tree).

This PR also caches the dominator tree and the pre-processed dominators in the MIR cfg cache.

Rebase of https://github.com/rust-lang/rust/pull/107157
cc `@tmiasko`
Diffstat (limited to 'compiler/rustc_transmute/src')
0 files changed, 0 insertions, 0 deletions