about summary refs log tree commit diff
path: root/src/test/mir-opt/while-storage/rustc.while_loop.PreCodegen.after.mir
diff options
context:
space:
mode:
authorXavier Denis <xldenis@gmail.com>2020-07-27 21:22:43 +0200
committerXavier Denis <xldenis@gmail.com>2020-07-29 13:41:11 +0200
commit86be22ebcdb904cfdc3c223718a32dc6af422621 (patch)
tree492d14a317afac82a3bc43f2120dbe6c6f9633fe /src/test/mir-opt/while-storage/rustc.while_loop.PreCodegen.after.mir
parent0dd362ec178e5d821630c0d54cff1e1043d7bdab (diff)
downloadrust-86be22ebcdb904cfdc3c223718a32dc6af422621.tar.gz
rust-86be22ebcdb904cfdc3c223718a32dc6af422621.zip
add crate name to mir dumps
Diffstat (limited to 'src/test/mir-opt/while-storage/rustc.while_loop.PreCodegen.after.mir')
-rw-r--r--src/test/mir-opt/while-storage/rustc.while_loop.PreCodegen.after.mir80
1 files changed, 0 insertions, 80 deletions
diff --git a/src/test/mir-opt/while-storage/rustc.while_loop.PreCodegen.after.mir b/src/test/mir-opt/while-storage/rustc.while_loop.PreCodegen.after.mir
deleted file mode 100644
index 3ddf82c2fb2..00000000000
--- a/src/test/mir-opt/while-storage/rustc.while_loop.PreCodegen.after.mir
+++ /dev/null
@@ -1,80 +0,0 @@
-// MIR for `while_loop` after PreCodegen
-
-fn while_loop(_1: bool) -> () {
-    debug c => _1;                       // in scope 0 at $DIR/while-storage.rs:9:15: 9:16
-    let mut _0: ();                      // return place in scope 0 at $DIR/while-storage.rs:9:24: 9:24
-    let mut _2: bool;                    // in scope 0 at $DIR/while-storage.rs:10:11: 10:22
-    let mut _3: bool;                    // in scope 0 at $DIR/while-storage.rs:10:20: 10:21
-    let mut _4: bool;                    // in scope 0 at $DIR/while-storage.rs:11:12: 11:23
-    let mut _5: bool;                    // in scope 0 at $DIR/while-storage.rs:11:21: 11:22
-
-    bb0: {
-        StorageLive(_2);                 // scope 0 at $DIR/while-storage.rs:10:11: 10:22
-        StorageLive(_3);                 // scope 0 at $DIR/while-storage.rs:10:20: 10:21
-        _3 = _1;                         // scope 0 at $DIR/while-storage.rs:10:20: 10:21
-        _2 = const get_bool(move _3) -> bb1; // scope 0 at $DIR/while-storage.rs:10:11: 10:22
-                                         // ty::Const
-                                         // + ty: fn(bool) -> bool {get_bool}
-                                         // + val: Value(Scalar(<ZST>))
-                                         // mir::Constant
-                                         // + span: $DIR/while-storage.rs:10:11: 10:19
-                                         // + literal: Const { ty: fn(bool) -> bool {get_bool}, val: Value(Scalar(<ZST>)) }
-    }
-
-    bb1: {
-        StorageDead(_3);                 // scope 0 at $DIR/while-storage.rs:10:21: 10:22
-        switchInt(_2) -> [false: bb2, otherwise: bb3]; // scope 0 at $DIR/while-storage.rs:10:5: 14:6
-    }
-
-    bb2: {
-        _0 = const ();                   // scope 0 at $DIR/while-storage.rs:10:5: 14:6
-                                         // ty::Const
-                                         // + ty: ()
-                                         // + val: Value(Scalar(<ZST>))
-                                         // mir::Constant
-                                         // + span: $DIR/while-storage.rs:10:5: 14:6
-                                         // + literal: Const { ty: (), val: Value(Scalar(<ZST>)) }
-        goto -> bb7;                     // scope 0 at $DIR/while-storage.rs:10:5: 14:6
-    }
-
-    bb3: {
-        StorageLive(_4);                 // scope 0 at $DIR/while-storage.rs:11:12: 11:23
-        StorageLive(_5);                 // scope 0 at $DIR/while-storage.rs:11:21: 11:22
-        _5 = _1;                         // scope 0 at $DIR/while-storage.rs:11:21: 11:22
-        _4 = const get_bool(move _5) -> bb4; // scope 0 at $DIR/while-storage.rs:11:12: 11:23
-                                         // ty::Const
-                                         // + ty: fn(bool) -> bool {get_bool}
-                                         // + val: Value(Scalar(<ZST>))
-                                         // mir::Constant
-                                         // + span: $DIR/while-storage.rs:11:12: 11:20
-                                         // + literal: Const { ty: fn(bool) -> bool {get_bool}, val: Value(Scalar(<ZST>)) }
-    }
-
-    bb4: {
-        StorageDead(_5);                 // scope 0 at $DIR/while-storage.rs:11:22: 11:23
-        switchInt(_4) -> [false: bb5, otherwise: bb6]; // scope 0 at $DIR/while-storage.rs:11:9: 13:10
-    }
-
-    bb5: {
-        StorageDead(_4);                 // scope 0 at $DIR/while-storage.rs:14:5: 14:6
-        StorageDead(_2);                 // scope 0 at $DIR/while-storage.rs:14:5: 14:6
-        goto -> bb0;                     // scope 0 at $DIR/while-storage.rs:10:5: 14:6
-    }
-
-    bb6: {
-        _0 = const ();                   // scope 0 at $DIR/while-storage.rs:12:13: 12:18
-                                         // ty::Const
-                                         // + ty: ()
-                                         // + val: Value(Scalar(<ZST>))
-                                         // mir::Constant
-                                         // + span: $DIR/while-storage.rs:12:13: 12:18
-                                         // + literal: Const { ty: (), val: Value(Scalar(<ZST>)) }
-        StorageDead(_4);                 // scope 0 at $DIR/while-storage.rs:14:5: 14:6
-        goto -> bb7;                     // scope 0 at $DIR/while-storage.rs:12:13: 12:18
-    }
-
-    bb7: {
-        StorageDead(_2);                 // scope 0 at $DIR/while-storage.rs:14:5: 14:6
-        return;                          // scope 0 at $DIR/while-storage.rs:15:2: 15:2
-    }
-}