Skip to content

Commit

Permalink
FileCheck annotations.
Browse files Browse the repository at this point in the history
  • Loading branch information
cjgillot committed Oct 21, 2023
1 parent 8fb99af commit a845bac
Show file tree
Hide file tree
Showing 3 changed files with 217 additions and 34 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,11 @@

fn disappearing_bb(_1: u8) -> u8 {
let mut _0: u8;
let mut _2: i8;
let mut _2: bool;
let mut _3: bool;
let mut _4: bool;

bb0: {
_4 = const false;
_3 = const false;
_4 = const true;
_2 = const true;
_3 = const true;
switchInt(_1) -> [0: bb3, 1: bb3, 2: bb1, otherwise: bb2];
}
Expand All @@ -26,7 +23,7 @@
}

bb3: {
_4 = const false;
_2 = const false;
goto -> bb4;
}

Expand All @@ -35,7 +32,7 @@
}

bb5: {
switchInt(_4) -> [0: bb6, otherwise: bb8];
switchInt(_2) -> [0: bb6, otherwise: bb8];
}

bb6: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,11 @@

fn disappearing_bb(_1: u8) -> u8 {
let mut _0: u8;
let mut _2: i8;
let mut _2: bool;
let mut _3: bool;
let mut _4: bool;

bb0: {
_4 = const false;
_3 = const false;
_4 = const true;
_2 = const true;
_3 = const true;
switchInt(_1) -> [0: bb3, 1: bb3, 2: bb1, otherwise: bb2];
}
Expand All @@ -26,7 +23,7 @@
}

bb3: {
_4 = const false;
_2 = const false;
goto -> bb4;
}

Expand All @@ -35,7 +32,7 @@
}

bb5: {
switchInt(_4) -> [0: bb6, otherwise: bb8];
switchInt(_2) -> [0: bb6, otherwise: bb8];
}

bb6: {
Expand Down
Loading

0 comments on commit a845bac

Please sign in to comment.