diff options
| author | bors <bors@rust-lang.org> | 2022-05-28 11:49:42 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2022-05-28 11:49:42 +0000 |
| commit | 68314177e70017c08f6cdf295631bb508f9f85bc (patch) | |
| tree | 1e3c47138c88c9036c7c2fd9c030af4ef26a0caf /compiler/rustc_mir_dataflow/src/impls/mod.rs | |
| parent | 19abca1172ae10d5c084b6c3013d92680f92dd8b (diff) | |
| parent | 7a99da1d502f7353ca0cb2e1ba06b787de77a616 (diff) | |
| download | rust-68314177e70017c08f6cdf295631bb508f9f85bc.tar.gz rust-68314177e70017c08f6cdf295631bb508f9f85bc.zip | |
Auto merge of #97158 - JakobDegen:dse, r=tmiasko,cjgillot
Split dead store elimination off dest prop This splits off a part of #96451 . I've added this in as its own pass for now, so that it actually runs, can be tested, etc. In the dest prop PR, I'll stop invoking this as its own pass, so that it doesn't get invoked twice. r? `@tmiasko`
Diffstat (limited to 'compiler/rustc_mir_dataflow/src/impls/mod.rs')
| -rw-r--r-- | compiler/rustc_mir_dataflow/src/impls/mod.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_mir_dataflow/src/impls/mod.rs b/compiler/rustc_mir_dataflow/src/impls/mod.rs index c9722a6df77..41cf43fc8e1 100644 --- a/compiler/rustc_mir_dataflow/src/impls/mod.rs +++ b/compiler/rustc_mir_dataflow/src/impls/mod.rs @@ -26,6 +26,7 @@ mod storage_liveness; pub use self::borrowed_locals::MaybeBorrowedLocals; pub use self::init_locals::MaybeInitializedLocals; pub use self::liveness::MaybeLiveLocals; +pub use self::liveness::MaybeTransitiveLiveLocals; pub use self::storage_liveness::{MaybeRequiresStorage, MaybeStorageLive}; /// `MaybeInitializedPlaces` tracks all places that might be |
