diff options
| author | Mazdak Farrokhzad <twingoow@gmail.com> | 2019-06-26 17:44:26 +0200 |
|---|---|---|
| committer | Mazdak Farrokhzad <twingoow@gmail.com> | 2019-07-06 06:43:58 +0200 |
| commit | 075e381b91de437ceaaca3cc2b1b4af19409743c (patch) | |
| tree | 0507695450b35f60657885c50f15ebd2ff4b39b5 | |
| parent | b32beb88cd002ab4add1836bf9b4d82ed8aac1d6 (diff) | |
| download | rust-075e381b91de437ceaaca3cc2b1b4af19409743c.tar.gz rust-075e381b91de437ceaaca3cc2b1b4af19409743c.zip | |
Bless mir-opt/while-storage.rs.
| -rw-r--r-- | src/test/mir-opt/while-storage.rs | 45 |
1 files changed, 21 insertions, 24 deletions
diff --git a/src/test/mir-opt/while-storage.rs b/src/test/mir-opt/while-storage.rs index a486bd49a77..86c3f79d3a7 100644 --- a/src/test/mir-opt/while-storage.rs +++ b/src/test/mir-opt/while-storage.rs @@ -24,36 +24,33 @@ fn main() { // StorageLive(_2); // StorageLive(_3); // _3 = _1; -// _2 = const get_bool(move _3) -> bb2; +// _2 = const get_bool(move _3) -> bb1; // } // bb1: { -// return; +// StorageDead(_3); +// switchInt(_2) -> [false: bb6, otherwise: bb2]; // } // bb2: { -// StorageDead(_3); -// switchInt(move _2) -> [false: bb4, otherwise: bb3]; +// StorageLive(_4); +// StorageLive(_5); +// _5 = _1; +// _4 = const get_bool(move _5) -> bb3; // } // bb3: { -// StorageDead(_2); -// StorageLive(_4); -// StorageLive(_5); -// _5 = _1; -// _4 = const get_bool(move _5) -> bb5; +// StorageDead(_5); +// switchInt(_4) -> [false: bb4, otherwise: bb5]; // } // bb4: { -// StorageDead(_2); -// goto -> bb1; -// } -// bb5: { -// StorageDead(_5); -// switchInt(_4) -> [false: bb6, otherwise: bb7]; -// } -// bb6: { -// StorageDead(_4); -// goto -> bb0; -// } -// bb7: { -// StorageDead(_4); -// goto -> bb1; -// } +// StorageDead(_4); +// StorageDead(_2); +// goto -> bb0; +// } +// bb5: { +// StorageDead(_4); +// goto -> bb6; +// } +// bb6: { +// StorageDead(_2); +// return; +// } // END rustc.while_loop.PreCodegen.after.mir |
