diff options
| author | Yenlin Chen <3822365+hencrice@users.noreply.github.com> | 2020-12-23 18:55:37 +0000 |
|---|---|---|
| committer | Yenlin Chen <3822365+hencrice@users.noreply.github.com> | 2020-12-23 18:55:37 +0000 |
| commit | f459b0fea5723010bf1654d8073389fd0a0263d1 (patch) | |
| tree | 477397b5424e4a2840f9704c8a443f137f9d494c /src/test/mir-opt/const_prop/tuple_literal_propagation.main.ConstProp.diff | |
| parent | b66eb696af9ef1952f2582b2b8ec07156868b2f6 (diff) | |
| download | rust-f459b0fea5723010bf1654d8073389fd0a0263d1.tar.gz rust-f459b0fea5723010bf1654d8073389fd0a0263d1.zip | |
Addressed feedbacks
Also updated the mir-opt test output files.
Diffstat (limited to 'src/test/mir-opt/const_prop/tuple_literal_propagation.main.ConstProp.diff')
| -rw-r--r-- | src/test/mir-opt/const_prop/tuple_literal_propagation.main.ConstProp.diff | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/test/mir-opt/const_prop/tuple_literal_propagation.main.ConstProp.diff b/src/test/mir-opt/const_prop/tuple_literal_propagation.main.ConstProp.diff index 2de1ab19b7c..da4b135d4c6 100644 --- a/src/test/mir-opt/const_prop/tuple_literal_propagation.main.ConstProp.diff +++ b/src/test/mir-opt/const_prop/tuple_literal_propagation.main.ConstProp.diff @@ -18,9 +18,6 @@ StorageLive(_3); // scope 1 at $DIR/tuple_literal_propagation.rs:5:13: 5:14 - _3 = _1; // scope 1 at $DIR/tuple_literal_propagation.rs:5:13: 5:14 + _3 = const (1_u32, 2_u32); // scope 1 at $DIR/tuple_literal_propagation.rs:5:13: 5:14 -+ // ty::Const -+ // + ty: (u32, u32) -+ // + val: Value(ByRef { alloc: Allocation { bytes: [1, 0, 0, 0, 2, 0, 0, 0], relocations: Relocations(SortedMap { data: [] }), init_mask: InitMask { blocks: [255], len: Size { raw: 8 } }, size: Size { raw: 8 }, align: Align { pow2: 2 }, mutability: Not, extra: () }, offset: Size { raw: 0 } }) + // mir::Constant + // + span: $DIR/tuple_literal_propagation.rs:5:13: 5:14 + // + literal: Const { ty: (u32, u32), val: Value(ByRef { alloc: Allocation { bytes: [1, 0, 0, 0, 2, 0, 0, 0], relocations: Relocations(SortedMap { data: [] }), init_mask: InitMask { blocks: [255], len: Size { raw: 8 } }, size: Size { raw: 8 }, align: Align { pow2: 2 }, mutability: Not, extra: () }, offset: Size { raw: 0 } }) } |
