]> git.lizzy.rs Git - rust.git/blobdiff - src/test/mir-opt/matches_reduce_branches.foo.MatchBranchSimplification.diff.32bit
MatchBranchSimplification: copy discriminant instead of moving it
[rust.git] / src / test / mir-opt / matches_reduce_branches.foo.MatchBranchSimplification.diff.32bit
index df94c897e92f870b526f2a1f434dcde6546ce68d..9324762fb0803fb790720db8536a8208e6950a75 100644 (file)
@@ -11,7 +11,7 @@
           StorageLive(_2);                 // scope 0 at $SRC_DIR/core/src/macros/mod.rs:LL:COL
           _3 = discriminant(_1);           // scope 0 at $DIR/matches_reduce_branches.rs:5:22: 5:26
 -         switchInt(move _3) -> [0_isize: bb2, otherwise: bb1]; // scope 0 at $DIR/matches_reduce_branches.rs:5:22: 5:26
-+         _2 = Eq(move _3, const 0_isize); // scope 0 at $SRC_DIR/core/src/macros/mod.rs:LL:COL
++         _2 = Eq(_3, const 0_isize);      // scope 0 at $SRC_DIR/core/src/macros/mod.rs:LL:COL
 +                                          // ty::Const
 +                                          // + ty: isize
 +                                          // + val: Value(Scalar(0x00000000))