Lower the assume intrinsic to a MIR statement

This commit is contained in:
Oli Scherer
2022-06-30 08:16:05 +00:00
parent 3c72788461
commit 3f07645120
33 changed files with 212 additions and 30 deletions

View File

@@ -540,6 +540,7 @@ pub(crate) fn mir_operand_get_const_val<'tcx>(
return None;
} // conservative handling
StatementKind::Assign(_)
| StatementKind::Assume(_)
| StatementKind::FakeRead(_)
| StatementKind::SetDiscriminant { .. }
| StatementKind::Deinit(_)