]> git.lizzy.rs Git - rust.git/blobdiff - src/test/mir-opt/simplify_match.rs
Create fewer basic blocks in match MIR lowering
[rust.git] / src / test / mir-opt / simplify_match.rs
index 0192aa01d0188422214ce7ce6e4ee405cd15d766..8624899a0abf25f34a4fc69ab298011ec8792668 100644 (file)
@@ -9,14 +9,14 @@ fn main() {
 // START rustc.main.SimplifyBranches-after-copy-prop.before.mir
 // bb0: {
 //     ...
-//     switchInt(const false) -> [false: bb3, otherwise: bb1];
+//     switchInt(const false) -> [false: bb1, otherwise: bb2];
 // }
 // bb1: {
 // END rustc.main.SimplifyBranches-after-copy-prop.before.mir
 // START rustc.main.SimplifyBranches-after-copy-prop.after.mir
 // bb0: {
 //     ...
-//     goto -> bb3;
+//     goto -> bb1;
 // }
 // bb1: {
 // END rustc.main.SimplifyBranches-after-copy-prop.after.mir