about summary refs log tree commit diff
path: root/compiler/rustc_mir/src/transform/dest_prop.rs
AgeCommit message (Collapse)AuthorLines
2021-09-07Move rustc_mir::transform to rustc_mir_transform.Camille GILLOT-1039/+0
2021-06-02Add `Ty::is_union` predicate and use itTomasz Miąsko-12/+3
2021-04-06Use AnonConst for asm! constantsAmanieu d'Antras-3/+1
2021-03-09Update match brancheskadmin-0/+1
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-06Disable destination propagation on all mir-opt-levelsTomasz Miąsko-0/+5
2021-03-05Bump all mir_opt_level 2 to 3Santiago Pastorino-2/+2
2021-03-05For better consistency change mir_opt_level <= 1 to < 2Santiago Pastorino-1/+1
2021-03-05Extract mir_opt_level to a method and use Option to be able to know if the ↵Santiago Pastorino-1/+1
value is provided or not
2020-11-05Fix even more URLsGuillaume Gomez-1/+1
2020-10-04Replace `(Body, DefId)` with `Body` where possibleDylan MacKenzie-6/+3
A `Body` now contains its `MirSource`, which in turn contains the `DefId` of the item associated with the `Body`.
2020-10-04Remember the `MirSource` for each `Body`Dylan MacKenzie-56/+46
2020-09-22Fix dest prop miscompilation around referencesJonas Schievink-1/+1
2020-09-18Clarify FIXMEJonas Schievink-2/+3
2020-09-18Return `Place` by valueJonas Schievink-2/+2
2020-09-18Move inner items outsideJonas Schievink-144/+144
2020-09-18Fix rebase falloutJonas Schievink-5/+6
2020-09-18Limit block countJonas Schievink-0/+14
2020-09-18Fix rebase falloutJonas Schievink-7/+13
2020-09-18Properly inherit conflicts when merging localsJonas Schievink-53/+60
2020-09-18More loggingJonas Schievink-21/+59
2020-09-18Record intra-statement/terminator conflictsJonas Schievink-22/+206
Some MIR statements and terminators have an (undocumented...) invariant that some of their input and outputs must not overlap. This records conflicts between locals used in these positions.
2020-09-18perf: bail out when there's >500 candidate localsJonas Schievink-6/+24
2020-09-18perf: only calculate conflicts for candidatesJonas Schievink-12/+39
2020-09-18perf: walk liveness backwards in Conflicts::buildJonas Schievink-24/+39
2020-09-18Fix dataflow assert errorsJonas Schievink-3/+17
2020-09-18Implement a destination propagation passJonas Schievink-0/+732