rust/tests/mir-opt/switch_to_self.test.MatchBranchSimplification.diff

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

20 lines
376 B
Diff
Raw Normal View History

2023-05-26 13:47:51 -05:00
- // MIR for `test` before MatchBranchSimplification
+ // MIR for `test` after MatchBranchSimplification
fn test(_1: bool) -> () {
2023-06-06 08:47:00 -05:00
let mut _0: ();
2023-05-26 13:47:51 -05:00
bb0: {
2023-06-06 08:47:00 -05:00
goto -> bb1;
2023-05-26 13:47:51 -05:00
}
bb1: {
2023-06-06 08:47:00 -05:00
switchInt(copy _1) -> [0: bb1, otherwise: bb2];
2023-05-26 13:47:51 -05:00
}
bb2: {
2023-06-06 08:47:00 -05:00
switchInt(copy _1) -> [0: bb1, otherwise: bb2];
2023-05-26 13:47:51 -05:00
}
}