about summary refs log tree commit diff
path: root/compiler/rustc_mir_transform/src/lib.rs
AgeCommit message (Expand)AuthorLines
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
2024-04-23promotion: do not promote const-fn calls in const when that may fail without ...Ralf Jung-7/+8
2024-04-03Remove MIR unsafe checkMatthew Jasper-7/+0
2024-04-03Auto merge of #122225 - DianQK:nits-120268, r=cjgillotbors-3/+4
2024-03-25Auto merge of #122721 - oli-obk:merge_queries, r=davidtwcobors-12/+8
2024-03-21Auto merge of #122568 - RalfJung:mentioned-items, r=oli-obkbors-0/+5
2024-03-20step cfgsMark Rousskov-1/+0
2024-03-20collector: recursively traverse 'mentioned' items to evaluate their constantsRalf Jung-0/+5
2024-03-20Update documentationOli Scherer-3/+0
2024-03-20Rename mir_const query to mir_builtOli Scherer-5/+5
2024-03-20Replace `mir_built` query with a hook and use mir_const everywhere insteadOli Scherer-4/+3
2024-03-19Remove all checks of `IntrinsicDef::must_be_overridden` except for the actual...Oli Scherer-6/+0
2024-03-18add_retag: ensure box-to-raw-ptr casts are preserved for MiriRalf Jung-2/+2
2024-03-17simplify_cfg: rename some passes so that they make more senseRalf Jung-2/+2
2024-03-13Allow `rustc_mir_transform` to register hook providersZalathar-3/+4
2024-03-12Change `DefKind::Static` to a struct variantOli Scherer-1/+1
2024-03-09Rename `UninhabitedEnumBranching` to `UnreachableEnumBranching`DianQK-3/+4
2024-03-04Remove some depgraph edges on the HIR by invoking the intrinsic query instead...Oli Scherer-2/+2
2024-03-04Add a scheme for moving away from `extern "rust-intrinsic"` entirelyOli Scherer-0/+6
2024-03-04Add `is_intrinsic` helperOli Scherer-1/+1
2024-02-20Rename `ConstPropLint` to `KnownPanicsLint`Gurinder Singh-2/+2
2024-02-18Remove const_prop.rsGurinder Singh-1/+0
2024-02-16Auto merge of #120500 - oli-obk:intrinsics2.0, r=WaffleLapkinbors-2/+1
2024-02-15Avoid debug logging entire MIR bodyTomasz Miąsko-1/+0
2024-02-15Reinstate some delayed bugs.Nicholas Nethercote-1/+2
2024-02-14Use fewer delayed bugs.Nicholas Nethercote-1/+1
2024-02-12Make `is_intrinsic` query return the intrinsic nameOli Scherer-2/+1
2024-02-12Dejargnonize substShoyu Vanilla-4/+4
2024-02-10Auto merge of #117206 - cjgillot:jump-threading-default, r=tmiaskobors-7/+0
2024-02-10Remove unnecessary `min_specialization` after bootstrapZalathar-1/+1
2024-02-09Remove ConstGoto and SeparateConstSwitch.Camille GILLOT-7/+0
2024-02-09Rollup merge of #120693 - nnethercote:invert-diagnostic-lints, r=davidtwcoMatthias Krüger-2/+0
2024-02-06Construct body for by-move coroutine closure outputMichael Goulet-0/+4
2024-02-06Invert diagnostic lints.Nicholas Nethercote-2/+0