about summary refs log tree commit diff
path: root/compiler/rustc_mir/src/dataflow/move_paths
AgeCommit message (Collapse)AuthorLines
2021-09-07Move the dataflow framework to its own crate.Camille GILLOT-1024/+0
2021-09-07Move rustc_mir::borrow_check to new crate rustc_borrowck.Camille GILLOT-4/+10
2021-06-02Add `Ty::is_union` predicate and use itTomasz Miąsko-4/+2
2021-05-13removed compilation errorayushmishra2005-1/+1
2021-05-13Miner code formattingayushmishra2005-4/+1
2021-04-07Rollup merge of #83916 - Amanieu:asm_anonconst, r=petrochenkovDylan DPC-2/+3
Use AnonConst for asm! constants This replaces the old system which used explicit promotion. See #83169 for more background. The syntax for `const` operands is still the same as before: `const <expr>`. Fixes #83169 Because the implementation is heavily based on inline consts, we suffer from the same issues: - We lose the ability to use expressions derived from generics. See the deleted tests in `src/test/ui/asm/const.rs`. - We are hitting the same ICEs as inline consts, for example #78174. It is unlikely that we will be able to stabilize this before inline consts are stabilized.
2021-04-06Use AnonConst for asm! constantsAmanieu d'Antras-2/+3
2021-04-02Reduce size of statementsRoxane-2/+2
2021-03-26Use iter::zip in compiler/Josh Stone-1/+2
2021-03-09Clean up todoskadmin-2/+1
Also add some span_bugs where it is unreachable
2021-03-09Update match brancheskadmin-0/+2
This updates all places where match branches check on StatementKind or UseContext. This doesn't properly implement them, but adds TODOs where they are, and also adds some best guesses to what they should be in some cases.
2021-03-05Shrink the size of Rvalue by 16 bytesOli Scherer-2/+2
2021-01-16Use PlaceRef more consistently in rustc_mirOlivia Crain-7/+3
2020-10-04Fix rebase falloutAaron Hill-1/+1
2020-10-04Address review commentsMatthew Jasper-2/+6
2020-10-04Reduce the number of drop-flag assignments in unwind pathsMatthew Jasper-4/+1
2020-09-26Remove unused #[allow(...)] statements from compiler/est31-1/+0
2020-09-17don't lazily evaulate some trivial values for Option::None replacements ↵Matthias Krüger-4/+1
(clippy::unnecessary_lazy_evaluations)
2020-09-15don't convert types to the same type with try_into (clippy::useless_conversion)Matthias Krüger-4/+1
2020-09-04Change ty.kind to a methodLeSeulArtichaut-3/+5
2020-08-30mv compiler to compiler/mark-0/+1028