Skip to content

Commit a845bac

Browse files
committed
FileCheck annotations.
1 parent 8fb99af commit a845bac

3 files changed

+217
-34
lines changed

tests/mir-opt/jump_threading.disappearing_bb.JumpThreading.panic-abort.diff

+4-7
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,11 @@
33

44
fn disappearing_bb(_1: u8) -> u8 {
55
let mut _0: u8;
6-
let mut _2: i8;
6+
let mut _2: bool;
77
let mut _3: bool;
8-
let mut _4: bool;
98

109
bb0: {
11-
_4 = const false;
12-
_3 = const false;
13-
_4 = const true;
10+
_2 = const true;
1411
_3 = const true;
1512
switchInt(_1) -> [0: bb3, 1: bb3, 2: bb1, otherwise: bb2];
1613
}
@@ -26,7 +23,7 @@
2623
}
2724

2825
bb3: {
29-
_4 = const false;
26+
_2 = const false;
3027
goto -> bb4;
3128
}
3229

@@ -35,7 +32,7 @@
3532
}
3633

3734
bb5: {
38-
switchInt(_4) -> [0: bb6, otherwise: bb8];
35+
switchInt(_2) -> [0: bb6, otherwise: bb8];
3936
}
4037

4138
bb6: {

tests/mir-opt/jump_threading.disappearing_bb.JumpThreading.panic-unwind.diff

+4-7
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,11 @@
33

44
fn disappearing_bb(_1: u8) -> u8 {
55
let mut _0: u8;
6-
let mut _2: i8;
6+
let mut _2: bool;
77
let mut _3: bool;
8-
let mut _4: bool;
98

109
bb0: {
11-
_4 = const false;
12-
_3 = const false;
13-
_4 = const true;
10+
_2 = const true;
1411
_3 = const true;
1512
switchInt(_1) -> [0: bb3, 1: bb3, 2: bb1, otherwise: bb2];
1613
}
@@ -26,7 +23,7 @@
2623
}
2724

2825
bb3: {
29-
_4 = const false;
26+
_2 = const false;
3027
goto -> bb4;
3128
}
3229

@@ -35,7 +32,7 @@
3532
}
3633

3734
bb5: {
38-
switchInt(_4) -> [0: bb6, otherwise: bb8];
35+
switchInt(_2) -> [0: bb6, otherwise: bb8];
3936
}
4037

4138
bb6: {

0 commit comments

Comments
 (0)