summaryrefslogtreecommitdiffstats
path: root/tests/mir-opt/match_test.main.SimplifyCfg-initial.after.mir
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-19 09:26:03 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-19 09:26:03 +0000
commit9918693037dce8aa4bb6f08741b6812923486c18 (patch)
tree21d2b40bec7e6a7ea664acee056eb3d08e15a1cf /tests/mir-opt/match_test.main.SimplifyCfg-initial.after.mir
parentReleasing progress-linux version 1.75.0+dfsg1-5~progress7.99u1. (diff)
downloadrustc-9918693037dce8aa4bb6f08741b6812923486c18.tar.xz
rustc-9918693037dce8aa4bb6f08741b6812923486c18.zip
Merging upstream version 1.76.0+dfsg1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'tests/mir-opt/match_test.main.SimplifyCfg-initial.after.mir')
-rw-r--r--tests/mir-opt/match_test.main.SimplifyCfg-initial.after.mir28
1 files changed, 14 insertions, 14 deletions
diff --git a/tests/mir-opt/match_test.main.SimplifyCfg-initial.after.mir b/tests/mir-opt/match_test.main.SimplifyCfg-initial.after.mir
index ebb2f70a4..5bf78b615 100644
--- a/tests/mir-opt/match_test.main.SimplifyCfg-initial.after.mir
+++ b/tests/mir-opt/match_test.main.SimplifyCfg-initial.after.mir
@@ -28,43 +28,43 @@ fn main() -> () {
StorageLive(_3);
PlaceMention(_1);
_6 = Le(const 0_i32, _1);
- switchInt(move _6) -> [0: bb4, otherwise: bb1];
+ switchInt(move _6) -> [0: bb3, otherwise: bb8];
}
bb1: {
- _7 = Lt(_1, const 10_i32);
- switchInt(move _7) -> [0: bb4, otherwise: bb2];
+ falseEdge -> [real: bb9, imaginary: bb4];
}
bb2: {
- falseEdge -> [real: bb9, imaginary: bb6];
+ _3 = const 3_i32;
+ goto -> bb14;
}
bb3: {
- _3 = const 3_i32;
- goto -> bb14;
+ _4 = Le(const 10_i32, _1);
+ switchInt(move _4) -> [0: bb5, otherwise: bb7];
}
bb4: {
- _4 = Le(const 10_i32, _1);
- switchInt(move _4) -> [0: bb7, otherwise: bb5];
+ falseEdge -> [real: bb12, imaginary: bb6];
}
bb5: {
- _5 = Le(_1, const 20_i32);
- switchInt(move _5) -> [0: bb7, otherwise: bb6];
+ switchInt(_1) -> [4294967295: bb6, otherwise: bb2];
}
bb6: {
- falseEdge -> [real: bb12, imaginary: bb8];
+ falseEdge -> [real: bb13, imaginary: bb2];
}
bb7: {
- switchInt(_1) -> [4294967295: bb8, otherwise: bb3];
+ _5 = Le(_1, const 20_i32);
+ switchInt(move _5) -> [0: bb5, otherwise: bb4];
}
bb8: {
- falseEdge -> [real: bb13, imaginary: bb3];
+ _7 = Lt(_1, const 10_i32);
+ switchInt(move _7) -> [0: bb3, otherwise: bb1];
}
bb9: {
@@ -83,7 +83,7 @@ fn main() -> () {
bb11: {
StorageDead(_9);
- falseEdge -> [real: bb3, imaginary: bb6];
+ falseEdge -> [real: bb2, imaginary: bb4];
}
bb12: {