]> git.proxmox.com Git - rustc.git/blob - src/test/mir-opt/deaggregator_test/rustc.bar.Deaggregator.diff
New upstream version 1.44.1+dfsg1
[rustc.git] / src / test / mir-opt / deaggregator_test / rustc.bar.Deaggregator.diff
1 - // MIR for `bar` before Deaggregator
2 + // MIR for `bar` after Deaggregator
3
4 fn bar(_1: usize) -> Baz {
5 debug a => _1; // in scope 0 at $DIR/deaggregator_test.rs:8:8: 8:9
6 let mut _0: Baz; // return place in scope 0 at $DIR/deaggregator_test.rs:8:21: 8:24
7 let mut _2: usize; // in scope 0 at $DIR/deaggregator_test.rs:9:14: 9:15
8
9 bb0: {
10 StorageLive(_2); // bb0[0]: scope 0 at $DIR/deaggregator_test.rs:9:14: 9:15
11 _2 = _1; // bb0[1]: scope 0 at $DIR/deaggregator_test.rs:9:14: 9:15
12 - _0 = Baz { x: move _2, y: const 0f32, z: const false }; // bb0[2]: scope 0 at $DIR/deaggregator_test.rs:9:5: 9:35
13 + (_0.0: usize) = move _2; // bb0[2]: scope 0 at $DIR/deaggregator_test.rs:9:5: 9:35
14 + (_0.1: f32) = const 0f32; // bb0[3]: scope 0 at $DIR/deaggregator_test.rs:9:5: 9:35
15 // ty::Const
16 // + ty: f32
17 // + val: Value(Scalar(0x00000000))
18 // mir::Constant
19 // + span: $DIR/deaggregator_test.rs:9:20: 9:23
20 // + literal: Const { ty: f32, val: Value(Scalar(0x00000000)) }
21 + (_0.2: bool) = const false; // bb0[4]: scope 0 at $DIR/deaggregator_test.rs:9:5: 9:35
22 // ty::Const
23 // + ty: bool
24 // + val: Value(Scalar(0x00))
25 // mir::Constant
26 // + span: $DIR/deaggregator_test.rs:9:28: 9:33
27 // + literal: Const { ty: bool, val: Value(Scalar(0x00)) }
28 - StorageDead(_2); // bb0[3]: scope 0 at $DIR/deaggregator_test.rs:9:34: 9:35
29 - return; // bb0[4]: scope 0 at $DIR/deaggregator_test.rs:10:2: 10:2
30 + StorageDead(_2); // bb0[5]: scope 0 at $DIR/deaggregator_test.rs:9:34: 9:35
31 + return; // bb0[6]: scope 0 at $DIR/deaggregator_test.rs:10:2: 10:2
32 }
33 }
34