lower ExprKind::Use, LogicalOp::Or and UnOp::Not

Co-authored-by: Abdulaziz Ghuloum <aghuloum@gmail.com>
This commit is contained in:
Ding Xiang Fei
2023-06-20 16:29:39 +08:00
parent b290d69738
commit e5453b4806
31 changed files with 508 additions and 458 deletions

View File

@@ -32,12 +32,12 @@
bb1: {
StorageDead(_6);
_3 = Lt(move _4, move _5);
StorageDead(_5);
StorageDead(_4);
switchInt(move _3) -> [0: bb4, otherwise: bb2];
}
bb2: {
StorageDead(_5);
StorageDead(_4);
StorageLive(_8);
_8 = _1;
_9 = Len((*_2));
@@ -52,6 +52,8 @@
}
bb4: {
StorageDead(_5);
StorageDead(_4);
_0 = const 42_u8;
goto -> bb5;
}