update mir-opt tests · rust-lang/rust@92267c9 (original) (raw)
8 files changed
lines changed
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -52,7 +52,7 @@ fn full_tested_match() -> () { | ||
52 | 52 | bb5: { |
53 | 53 | StorageLive(_6); |
54 | 54 | _6 = &((_2 as Some).0: i32); |
55 | -_4 = &shallow _2; | |
55 | +_4 = &fake _2; | |
56 | 56 | StorageLive(_7); |
57 | 57 | _7 = guard() -> [return: bb6, unwind: bb12]; |
58 | 58 | } |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -58,7 +58,7 @@ fn full_tested_match2() -> () { | ||
58 | 58 | bb5: { |
59 | 59 | StorageLive(_6); |
60 | 60 | _6 = &((_2 as Some).0: i32); |
61 | -_4 = &shallow _2; | |
61 | +_4 = &fake _2; | |
62 | 62 | StorageLive(_7); |
63 | 63 | _7 = guard() -> [return: bb6, unwind: bb12]; |
64 | 64 | } |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -78,7 +78,7 @@ fn main() -> () { | ||
78 | 78 | bb8: { |
79 | 79 | StorageLive(_7); |
80 | 80 | _7 = &((_2 as Some).0: i32); |
81 | -_5 = &shallow _2; | |
81 | +_5 = &fake _2; | |
82 | 82 | StorageLive(_8); |
83 | 83 | _8 = guard() -> [return: bb9, unwind: bb20]; |
84 | 84 | } |
@@ -120,7 +120,7 @@ fn main() -> () { | ||
120 | 120 | bb14: { |
121 | 121 | StorageLive(_11); |
122 | 122 | _11 = &((_2 as Some).0: i32); |
123 | -_5 = &shallow _2; | |
123 | +_5 = &fake _2; | |
124 | 124 | StorageLive(_12); |
125 | 125 | StorageLive(_13); |
126 | 126 | _13 = (*_11); |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -80,8 +80,8 @@ | ||
80 | 80 | _6 = &(_2.1: bool); |
81 | 81 | StorageLive(_8); |
82 | 82 | _8 = &(_2.2: std:🧵:String); |
83 | -- _3 = &shallow (_2.0: bool); | |
84 | -- _4 = &shallow (_2.1: bool); | |
83 | +- _3 = &fake (_2.0: bool); | |
84 | +- _4 = &fake (_2.1: bool); | |
85 | 85 | StorageLive(_9); |
86 | 86 | StorageLive(_10); |
87 | 87 | _10 = _1; |
@@ -137,8 +137,8 @@ | ||
137 | 137 | _6 = &(_2.0: bool); |
138 | 138 | StorageLive(_8); |
139 | 139 | _8 = &(_2.2: std:🧵:String); |
140 | -- _3 = &shallow (_2.0: bool); | |
141 | -- _4 = &shallow (_2.1: bool); | |
140 | +- _3 = &fake (_2.0: bool); | |
141 | +- _4 = &fake (_2.1: bool); | |
142 | 142 | StorageLive(_12); |
143 | 143 | StorageLive(_13); |
144 | 144 | _13 = _1; |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -80,8 +80,8 @@ | ||
80 | 80 | _6 = &(_2.1: bool); |
81 | 81 | StorageLive(_8); |
82 | 82 | _8 = &(_2.2: std:🧵:String); |
83 | -- _3 = &shallow (_2.0: bool); | |
84 | -- _4 = &shallow (_2.1: bool); | |
83 | +- _3 = &fake (_2.0: bool); | |
84 | +- _4 = &fake (_2.1: bool); | |
85 | 85 | StorageLive(_9); |
86 | 86 | StorageLive(_10); |
87 | 87 | _10 = _1; |
@@ -137,8 +137,8 @@ | ||
137 | 137 | _6 = &(_2.0: bool); |
138 | 138 | StorageLive(_8); |
139 | 139 | _8 = &(_2.2: std:🧵:String); |
140 | -- _3 = &shallow (_2.0: bool); | |
141 | -- _4 = &shallow (_2.1: bool); | |
140 | +- _3 = &fake (_2.0: bool); | |
141 | +- _4 = &fake (_2.1: bool); | |
142 | 142 | StorageLive(_12); |
143 | 143 | StorageLive(_13); |
144 | 144 | _13 = _1; |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -68,7 +68,7 @@ fn main() -> () { | ||
68 | 68 | } |
69 | 69 | |
70 | 70 | bb9: { |
71 | -_8 = &shallow _1; | |
71 | +_8 = &fake _1; | |
72 | 72 | StorageLive(_9); |
73 | 73 | _9 = _2; |
74 | 74 | switchInt(move _9) -> [0: bb11, otherwise: bb10]; |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -33,10 +33,10 @@ | ||
33 | 33 | } |
34 | 34 | |
35 | 35 | bb4: { |
36 | -- _4 = &shallow _1; | |
37 | -- _5 = &shallow (*((_1 as Some).0: &&i32)); | |
38 | -- _6 = &shallow ((_1 as Some).0: &&i32); | |
39 | -- _7 = &shallow (*(*((_1 as Some).0: &&i32))); | |
36 | +- _4 = &fake _1; | |
37 | +- _5 = &fake (*((_1 as Some).0: &&i32)); | |
38 | +- _6 = &fake ((_1 as Some).0: &&i32); | |
39 | +- _7 = &fake (*(*((_1 as Some).0: &&i32))); | |
40 | 40 | + nop; |
41 | 41 | + nop; |
42 | 42 | + nop; |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -33,10 +33,10 @@ | ||
33 | 33 | } |
34 | 34 | |
35 | 35 | bb4: { |
36 | -- _4 = &shallow _1; | |
37 | -- _5 = &shallow (*((_1 as Some).0: &&i32)); | |
38 | -- _6 = &shallow ((_1 as Some).0: &&i32); | |
39 | -- _7 = &shallow (*(*((_1 as Some).0: &&i32))); | |
36 | +- _4 = &fake _1; | |
37 | +- _5 = &fake (*((_1 as Some).0: &&i32)); | |
38 | +- _6 = &fake ((_1 as Some).0: &&i32); | |
39 | +- _7 = &fake (*(*((_1 as Some).0: &&i32))); | |
40 | 40 | + nop; |
41 | 41 | + nop; |
42 | 42 | + nop; |