Skip to content

Commit 46c0bd3

Browse files
committed
Bless mir-opt tests for 32 bit
1 parent 268f786 commit 46c0bd3

File tree

1 file changed

+12
-16
lines changed

1 file changed

+12
-16
lines changed

src/test/mir-opt/issue_73223.main.SimplifyArmIdentity.32bit.diff

+12-16
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@
106106
_0 = const (); // scope 0 at $DIR/issue-73223.rs:4:17: 4:23
107107
StorageDead(_2); // scope 0 at $DIR/issue-73223.rs:5:6: 5:7
108108
StorageDead(_1); // scope 0 at $DIR/issue-73223.rs:9:1: 9:2
109-
goto -> bb3; // scope 0 at $DIR/issue-73223.rs:4:17: 4:23
109+
return; // scope 0 at $DIR/issue-73223.rs:4:17: 4:23
110110
}
111111

112112
bb2: {
@@ -153,14 +153,10 @@
153153
StorageDead(_17); // scope 4 at $SRC_DIR/core/src/macros/mod.rs:LL:COL
154154
_15 = Not(move _16); // scope 4 at $SRC_DIR/core/src/macros/mod.rs:LL:COL
155155
StorageDead(_16); // scope 4 at $SRC_DIR/core/src/macros/mod.rs:LL:COL
156-
switchInt(_15) -> [false: bb4, otherwise: bb5]; // scope 4 at $SRC_DIR/core/src/macros/mod.rs:LL:COL
156+
switchInt(_15) -> [false: bb3, otherwise: bb4]; // scope 4 at $SRC_DIR/core/src/macros/mod.rs:LL:COL
157157
}
158158

159159
bb3: {
160-
return; // scope 0 at $DIR/issue-73223.rs:9:2: 9:2
161-
}
162-
163-
bb4: {
164160
_8 = const (); // scope 4 at $SRC_DIR/core/src/macros/mod.rs:LL:COL
165161
StorageDead(_15); // scope 4 at $SRC_DIR/core/src/macros/mod.rs:LL:COL
166162
StorageDead(_14); // scope 3 at $SRC_DIR/core/src/macros/mod.rs:LL:COL
@@ -170,10 +166,10 @@
170166
_0 = const (); // scope 0 at $DIR/issue-73223.rs:1:11: 9:2
171167
StorageDead(_6); // scope 1 at $DIR/issue-73223.rs:9:1: 9:2
172168
StorageDead(_1); // scope 0 at $DIR/issue-73223.rs:9:1: 9:2
173-
goto -> bb3; // scope 0 at $DIR/issue-73223.rs:9:2: 9:2
169+
return; // scope 0 at $DIR/issue-73223.rs:9:2: 9:2
174170
}
175171

176-
bb5: {
172+
bb4: {
177173
StorageLive(_19); // scope 4 at $SRC_DIR/std/src/macros.rs:LL:COL
178174
StorageLive(_20); // scope 4 at $SRC_DIR/std/src/macros.rs:LL:COL
179175
StorageLive(_21); // scope 4 at $SRC_DIR/std/src/macros.rs:LL:COL
@@ -224,24 +220,24 @@
224220
StorageLive(_46); // scope 7 at $SRC_DIR/core/src/fmt/mod.rs:LL:COL
225221
StorageLive(_47); // scope 7 at $SRC_DIR/core/src/fmt/mod.rs:LL:COL
226222
_47 = _40; // scope 7 at $SRC_DIR/core/src/fmt/mod.rs:LL:COL
227-
_46 = transmute::<for<'r, 's, 't0> fn(&'r &i32, &'s mut Formatter<'t0>) -> std::result::Result<(), std::fmt::Error>, for<'r, 's, 't0> fn(&'r core::fmt::Opaque, &'s mut Formatter<'t0>) -> std::result::Result<(), std::fmt::Error>>(move _47) -> bb6; // scope 7 at $SRC_DIR/core/src/fmt/mod.rs:LL:COL
223+
_46 = transmute::<for<'r, 's, 't0> fn(&'r &i32, &'s mut Formatter<'t0>) -> std::result::Result<(), std::fmt::Error>, for<'r, 's, 't0> fn(&'r core::fmt::Opaque, &'s mut Formatter<'t0>) -> std::result::Result<(), std::fmt::Error>>(move _47) -> bb5; // scope 7 at $SRC_DIR/core/src/fmt/mod.rs:LL:COL
228224
// mir::Constant
229225
// + span: $SRC_DIR/core/src/fmt/mod.rs:LL:COL
230226
// + literal: Const { ty: unsafe extern "rust-intrinsic" fn(for<'r, 's, 't0> fn(&'r &i32, &'s mut std::fmt::Formatter<'t0>) -> std::result::Result<(), std::fmt::Error>) -> for<'r, 's, 't0> fn(&'r core::fmt::Opaque, &'s mut std::fmt::Formatter<'t0>) -> std::result::Result<(), std::fmt::Error> {std::intrinsics::transmute::<for<'r, 's, 't0> fn(&'r &i32, &'s mut std::fmt::Formatter<'t0>) -> std::result::Result<(), std::fmt::Error>, for<'r, 's, 't0> fn(&'r core::fmt::Opaque, &'s mut std::fmt::Formatter<'t0>) -> std::result::Result<(), std::fmt::Error>>}, val: Value(Scalar(<ZST>)) }
231227
}
232228

233-
bb6: {
229+
bb5: {
234230
StorageDead(_47); // scope 7 at $SRC_DIR/core/src/fmt/mod.rs:LL:COL
235231
StorageLive(_48); // scope 7 at $SRC_DIR/core/src/fmt/mod.rs:LL:COL
236232
StorageLive(_49); // scope 7 at $SRC_DIR/core/src/fmt/mod.rs:LL:COL
237233
_49 = _39; // scope 7 at $SRC_DIR/core/src/fmt/mod.rs:LL:COL
238-
_48 = transmute::<&&i32, &core::fmt::Opaque>(move _49) -> bb7; // scope 7 at $SRC_DIR/core/src/fmt/mod.rs:LL:COL
234+
_48 = transmute::<&&i32, &core::fmt::Opaque>(move _49) -> bb6; // scope 7 at $SRC_DIR/core/src/fmt/mod.rs:LL:COL
239235
// mir::Constant
240236
// + span: $SRC_DIR/core/src/fmt/mod.rs:LL:COL
241237
// + literal: Const { ty: unsafe extern "rust-intrinsic" fn(&&i32) -> &core::fmt::Opaque {std::intrinsics::transmute::<&&i32, &core::fmt::Opaque>}, val: Value(Scalar(<ZST>)) }
242238
}
243239

244-
bb7: {
240+
bb6: {
245241
StorageDead(_49); // scope 7 at $SRC_DIR/core/src/fmt/mod.rs:LL:COL
246242
(_38.0: &core::fmt::Opaque) = move _48; // scope 7 at $SRC_DIR/core/src/fmt/mod.rs:LL:COL
247243
(_38.1: for<'r, 's, 't0> fn(&'r core::fmt::Opaque, &'s mut std::fmt::Formatter<'t0>) -> std::result::Result<(), std::fmt::Error>) = move _46; // scope 7 at $SRC_DIR/core/src/fmt/mod.rs:LL:COL
@@ -260,24 +256,24 @@
260256
StorageLive(_50); // scope 9 at $SRC_DIR/core/src/fmt/mod.rs:LL:COL
261257
StorageLive(_51); // scope 9 at $SRC_DIR/core/src/fmt/mod.rs:LL:COL
262258
_51 = _43; // scope 9 at $SRC_DIR/core/src/fmt/mod.rs:LL:COL
263-
_50 = transmute::<for<'r, 's, 't0> fn(&'r &i32, &'s mut Formatter<'t0>) -> std::result::Result<(), std::fmt::Error>, for<'r, 's, 't0> fn(&'r core::fmt::Opaque, &'s mut Formatter<'t0>) -> std::result::Result<(), std::fmt::Error>>(move _51) -> bb8; // scope 9 at $SRC_DIR/core/src/fmt/mod.rs:LL:COL
259+
_50 = transmute::<for<'r, 's, 't0> fn(&'r &i32, &'s mut Formatter<'t0>) -> std::result::Result<(), std::fmt::Error>, for<'r, 's, 't0> fn(&'r core::fmt::Opaque, &'s mut Formatter<'t0>) -> std::result::Result<(), std::fmt::Error>>(move _51) -> bb7; // scope 9 at $SRC_DIR/core/src/fmt/mod.rs:LL:COL
264260
// mir::Constant
265261
// + span: $SRC_DIR/core/src/fmt/mod.rs:LL:COL
266262
// + literal: Const { ty: unsafe extern "rust-intrinsic" fn(for<'r, 's, 't0> fn(&'r &i32, &'s mut std::fmt::Formatter<'t0>) -> std::result::Result<(), std::fmt::Error>) -> for<'r, 's, 't0> fn(&'r core::fmt::Opaque, &'s mut std::fmt::Formatter<'t0>) -> std::result::Result<(), std::fmt::Error> {std::intrinsics::transmute::<for<'r, 's, 't0> fn(&'r &i32, &'s mut std::fmt::Formatter<'t0>) -> std::result::Result<(), std::fmt::Error>, for<'r, 's, 't0> fn(&'r core::fmt::Opaque, &'s mut std::fmt::Formatter<'t0>) -> std::result::Result<(), std::fmt::Error>>}, val: Value(Scalar(<ZST>)) }
267263
}
268264

269-
bb8: {
265+
bb7: {
270266
StorageDead(_51); // scope 9 at $SRC_DIR/core/src/fmt/mod.rs:LL:COL
271267
StorageLive(_52); // scope 9 at $SRC_DIR/core/src/fmt/mod.rs:LL:COL
272268
StorageLive(_53); // scope 9 at $SRC_DIR/core/src/fmt/mod.rs:LL:COL
273269
_53 = _42; // scope 9 at $SRC_DIR/core/src/fmt/mod.rs:LL:COL
274-
_52 = transmute::<&&i32, &core::fmt::Opaque>(move _53) -> bb9; // scope 9 at $SRC_DIR/core/src/fmt/mod.rs:LL:COL
270+
_52 = transmute::<&&i32, &core::fmt::Opaque>(move _53) -> bb8; // scope 9 at $SRC_DIR/core/src/fmt/mod.rs:LL:COL
275271
// mir::Constant
276272
// + span: $SRC_DIR/core/src/fmt/mod.rs:LL:COL
277273
// + literal: Const { ty: unsafe extern "rust-intrinsic" fn(&&i32) -> &core::fmt::Opaque {std::intrinsics::transmute::<&&i32, &core::fmt::Opaque>}, val: Value(Scalar(<ZST>)) }
278274
}
279275

280-
bb9: {
276+
bb8: {
281277
StorageDead(_53); // scope 9 at $SRC_DIR/core/src/fmt/mod.rs:LL:COL
282278
(_41.0: &core::fmt::Opaque) = move _52; // scope 9 at $SRC_DIR/core/src/fmt/mod.rs:LL:COL
283279
(_41.1: for<'r, 's, 't0> fn(&'r core::fmt::Opaque, &'s mut std::fmt::Formatter<'t0>) -> std::result::Result<(), std::fmt::Error>) = move _50; // scope 9 at $SRC_DIR/core/src/fmt/mod.rs:LL:COL

0 commit comments

Comments
 (0)