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 /src/test/mir-opt/lower_array_len.array_bound_mut.SimplifyLocals.diff | |
| 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 'src/test/mir-opt/lower_array_len.array_bound_mut.SimplifyLocals.diff')
| -rw-r--r-- | src/test/mir-opt/lower_array_len.array_bound_mut.SimplifyLocals.diff | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/test/mir-opt/lower_array_len.array_bound_mut.SimplifyLocals.diff b/src/test/mir-opt/lower_array_len.array_bound_mut.SimplifyLocals.diff index f72aee0e502..51d5f1acdab 100644 --- a/src/test/mir-opt/lower_array_len.array_bound_mut.SimplifyLocals.diff +++ b/src/test/mir-opt/lower_array_len.array_bound_mut.SimplifyLocals.diff @@ -31,10 +31,7 @@ StorageLive(_5); // scope 0 at $DIR/lower_array_len.rs:18:16: 18:27 - StorageLive(_6); // scope 0 at $DIR/lower_array_len.rs:18:16: 18:27 - StorageLive(_7); // scope 0 at $DIR/lower_array_len.rs:18:16: 18:27 -- _7 = &(*_2); // scope 0 at $DIR/lower_array_len.rs:18:16: 18:27 - StorageLive(_14); // scope 0 at $DIR/lower_array_len.rs:18:16: 18:27 -- _14 = _7; // scope 0 at $DIR/lower_array_len.rs:18:16: 18:27 -- _6 = move _7 as &[u8] (Pointer(Unsize)); // scope 0 at $DIR/lower_array_len.rs:18:16: 18:27 - StorageDead(_7); // scope 0 at $DIR/lower_array_len.rs:18:20: 18:21 _5 = const N; // scope 0 at $DIR/lower_array_len.rs:18:16: 18:27 - StorageDead(_14); // scope 0 at $DIR/lower_array_len.rs:18:16: 18:27 |
