summaryrefslogtreecommitdiffstats
path: root/tests/mir-opt/issue_76432.test.SimplifyComparisonIntegral.panic-abort.diff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--tests/mir-opt/issue_76432.test.SimplifyComparisonIntegral.panic-abort.diff8
1 files changed, 3 insertions, 5 deletions
diff --git a/tests/mir-opt/issue_76432.test.SimplifyComparisonIntegral.panic-abort.diff b/tests/mir-opt/issue_76432.test.SimplifyComparisonIntegral.panic-abort.diff
index f61632728..9d8f272ab 100644
--- a/tests/mir-opt/issue_76432.test.SimplifyComparisonIntegral.panic-abort.diff
+++ b/tests/mir-opt/issue_76432.test.SimplifyComparisonIntegral.panic-abort.diff
@@ -33,12 +33,10 @@
_3 = &_4;
_2 = move _3 as &[T] (PointerCoercion(Unsize));
StorageDead(_3);
- _8 = Len((*_2));
+ _8 = const 3_usize;
_9 = const 3_usize;
-- _10 = Eq(move _8, const 3_usize);
-- switchInt(move _10) -> [0: bb1, otherwise: bb2];
-+ nop;
-+ switchInt(move _8) -> [3: bb2, otherwise: bb1];
+ _10 = const true;
+ goto -> bb2;
}
bb1: {