blob: 931c5c43c4c6d1bbc86d61b1cfcd826a808554b0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
- // MIR for `main` before GVN
+ // MIR for `main` after GVN
fn main() -> () {
let mut _0: ();
let mut _1: bool;
let _2: bool;
scope 1 {
debug x => _2;
}
bb0: {
_2 = const false;
- switchInt(_2) -> [0: bb2, otherwise: bb1];
+ switchInt(const false) -> [0: bb2, otherwise: bb1];
}
bb1: {
_0 = noop() -> [return: bb2, unwind continue];
}
bb2: {
return;
}
}
|