about summary refs log tree commit diff
path: root/tests/mir-opt/jump_threading.dfa.JumpThreading.panic-abort.diff
diff options
context:
space:
mode:
authorNadrieril <nadrieril+git@gmail.com>2024-06-23 15:54:42 +0200
committerNadrieril <nadrieril+git@gmail.com>2024-07-29 09:50:07 +0200
commite2fd9aa33e1887417375e94ec79b39ab4682c8b4 (patch)
tree5032ccd5c6ad8b4302329f1134b61b1490b66b23 /tests/mir-opt/jump_threading.dfa.JumpThreading.panic-abort.diff
parent9e05fb67a3360b9faf49b3484e2ac5cec27a6e78 (diff)
Set up false edges in `lower_match_tree`
Diffstat (limited to 'tests/mir-opt/jump_threading.dfa.JumpThreading.panic-abort.diff')
-rw-r--r--tests/mir-opt/jump_threading.dfa.JumpThreading.panic-abort.diff18
1 files changed, 9 insertions, 9 deletions
diff --git a/tests/mir-opt/jump_threading.dfa.JumpThreading.panic-abort.diff b/tests/mir-opt/jump_threading.dfa.JumpThreading.panic-abort.diff
index bbbfe90691f..8009721fa5c 100644
--- a/tests/mir-opt/jump_threading.dfa.JumpThreading.panic-abort.diff
+++ b/tests/mir-opt/jump_threading.dfa.JumpThreading.panic-abort.diff
@@ -24,7 +24,7 @@
   
       bb1: {
           _4 = discriminant(_1);
-          switchInt(move _4) -> [0: bb4, 1: bb5, 2: bb6, 3: bb3, otherwise: bb2];
+          switchInt(move _4) -> [0: bb6, 1: bb5, 2: bb4, 3: bb3, otherwise: bb2];
       }
   
       bb2: {
@@ -39,11 +39,11 @@
       }
   
       bb4: {
-          StorageLive(_5);
-          _5 = DFA::B;
-          _1 = move _5;
+          StorageLive(_7);
+          _7 = DFA::D;
+          _1 = move _7;
           _3 = const ();
-          StorageDead(_5);
+          StorageDead(_7);
           goto -> bb1;
       }
   
@@ -57,11 +57,11 @@
       }
   
       bb6: {
-          StorageLive(_7);
-          _7 = DFA::D;
-          _1 = move _7;
+          StorageLive(_5);
+          _5 = DFA::B;
+          _1 = move _5;
           _3 = const ();
-          StorageDead(_7);
+          StorageDead(_5);
           goto -> bb1;
       }
   }