summary refs log tree commit diff
path: root/compiler/rustc_mir_transform/src/lib.rs
AgeCommit message (Expand)AuthorLines
2024-10-06Auto merge of #130540 - veera-sivarajan:fix-87525, r=estebankbors-0/+2
2024-10-05Add a Lint for Pointer to Integer Transmutes in ConstsVeera-0/+2
2024-09-24Dogfood `feature(file_buffered)`Josh Stone-0/+1
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-3/+3
2024-09-16Record synthetic MIR bodies in mir_keysMichael Goulet-16/+20
2024-09-14Rollup merge of #130199 - compiler-errors:by-move, r=cjgillotStuart Cook-1/+1
2024-09-10Don't call closure_by_move_body_def_id on FnOnce async closures in MIR valida...Michael Goulet-1/+1
2024-09-10Make `check_live_drops` into a `MirLint`.Nicholas Nethercote-3/+6
2024-09-10Remove references from some structs.Nicholas Nethercote-6/+8
2024-09-10Improve comment formatting.Nicholas Nethercote-12/+19
2024-09-09Reduce visibilities, and add `warn(unreachable_pub)`.Nicholas Nethercote-2/+5
2024-09-03Move `MirPass` to `rustc_mir_transform`.Nicholas Nethercote-2/+2
2024-09-03Adjust `SanityCheck`.Nicholas Nethercote-2/+2
2024-09-02Rollup merge of #129738 - nnethercote:rustc_mir_transform-cleanups, r=cjgillotMatthias Krüger-11/+5
2024-08-30Simplify a pattern.Nicholas Nethercote-2/+1
2024-08-30Simplify creation of a set.Nicholas Nethercote-3/+1
2024-08-30Simplify a provider definition.Nicholas Nethercote-1/+1
2024-08-30Condense `use rustc_*` declarations.Nicholas Nethercote-3/+2
2024-08-30Remove unused features.Nicholas Nethercote-2/+0
2024-08-30Remove `#[macro_use] extern crate tracing` from `rustc_mir_transform`.Nicholas Nethercote-3/+1
2024-08-26Stop using a special inner body for the coroutine by-move body for async clos...Michael Goulet-24/+18
2024-08-01MIR required_consts, mentioned_items: ensure we do not forget to fill these l...Ralf Jung-12/+24
2024-07-29Perform instsimplify before inline to eliminate some trivial callsDianQK-1/+4
2024-07-29Reformat `use` declarations.Nicholas Nethercote-3/+3
2024-07-28stabilize `is_sorted`Slanterns-1/+0
2024-07-02chore: remove duplicate wordshattizai-1/+1
2024-06-21Save 2 pointers in `TerminatorKind` (96 → 80 bytes)Scott McMurray-2/+8
2024-06-20Replace `NormalizeArrayLen` with `GVN`Scott McMurray-4/+0
2024-06-19Ban `ArrayToPointer` and `MutToConstPointer` from runtime MIRScott McMurray-3/+3
2024-06-16Rename InstanceDef -> InstanceKindMichael Goulet-1/+1
2024-06-12Use `tidy` to sort crate attributes for all compiler crates.Nicholas Nethercote-1/+3
2024-06-10Delete `ConstDebugInfo` passScott McMurray-2/+0
2024-06-10Add `SingleUseConsts` mir-opt passScott McMurray-0/+2
2024-06-07Rollup merge of #126077 - oli-obk:revert_is_mir_available, r=BoxyUwUMatthias Krüger-1/+1
2024-06-07Revert "Create const block DefIds in typeck instead of ast lowering"Oli Scherer-6/+0
2024-06-07Revert "Cache whether a body has inline consts"Oli Scherer-5/+1
2024-06-06Revert "Use the HIR instead of mir_keys for determining whether something wil...Oli Scherer-1/+1
2024-05-31Revert "Auto merge of #115105 - cjgillot:dest-prop-default, r=oli-obk"Camille GILLOT-1/+3
2024-05-30Auto merge of #115105 - cjgillot:dest-prop-default, r=oli-obkbors-3/+1
2024-05-29Enable DestinationPropagation by default.Camille GILLOT-3/+1
2024-05-29Make `body_owned_by` return the body directly.Oli Scherer-1/+2
2024-05-28Cache whether a body has inline constsOli Scherer-1/+4
2024-05-28Create const block DefIds in typeck instead of ast loweringOli Scherer-0/+6
2024-05-28Use the HIR instead of mir_keys for determining whether something will have a...Oli Scherer-1/+1
2024-05-24compiler: unnest rustc_const_eval::check_constsJubilee Young-1/+1
2024-05-24compiler: const_eval/transform/validate.rs -> mir_transform/validate.rsJubilee Young-1/+1
2024-05-13Remove `extern crate rustc_middle` from `rustc_mir_transform`.Nicholas Nethercote-2/+1
2024-05-01Step bootstrap cfgsMark Rousskov-1/+0
2024-04-24Stabilise `inline_const`Gary Guo-1/+1
2024-04-23compute required_consts before promotion, and add promoteds that may failRalf Jung-8/+9