summary refs log tree commit diff
path: root/compiler/rustc_mir_transform/src
AgeCommit message (Expand)AuthorLines
2024-10-11Disable jump threading UnOp::Not for non-boolMichael Goulet-0/+8
2024-08-31Rollup merge of #129812 - RalfJung:box-custom-alloc, r=compiler-errorsMatthias Krüger-0/+2
2024-08-31Rollup merge of #129767 - nnethercote:rm-extern-crate-tracing-4, r=jieyouxuMatthias Krüger-3/+39
2024-08-31interpret, codegen: tweak some comments and checks regarding Box with custom ...Ralf Jung-0/+2
2024-08-31Rollup merge of #129724 - nnethercote:rm-Option-bang, r=fee1-deadMatthias Krüger-66/+68
2024-08-30Remove `#[macro_use] extern crate tracing` from `rustc_mir_transform`.Nicholas Nethercote-3/+39
2024-08-30Remove `Option<!>` return types.Nicholas Nethercote-66/+68
2024-08-28Use a reduced recursion limit in the MIR inliner's cycle breakerBen Kimock-1/+9
2024-08-28coverage: Rename `CodeRegion` to `SourceRegion`Zalathar-20/+20
2024-08-28coverage: Simplify some debug loggingZalathar-7/+1
2024-08-26Stop using a special inner body for the coroutine by-move body for async clos...Michael Goulet-188/+159
2024-08-21Simplify some redundant field namesMichael Goulet-2/+2
2024-08-18Rollup merge of #128628 - khuey:simply-cfg-erase-source-info, r=nnethercoteTrevor Gross-0/+11
2024-08-18rename AddressOf -> RawBorrow inside the compilerRalf Jung-24/+24
2024-08-15Rollup merge of #129101 - compiler-errors:deref-on-parent-by-ref, r=lcnrMatthias Krüger-14/+40
2024-08-15Rollup merge of #129067 - cuviper:append, r=wesleywiserMatthias Krüger-2/+2
2024-08-14Fix projections when parent capture is by-refMichael Goulet-14/+40
2024-08-14Auto merge of #128812 - nnethercote:shrink-TyKind-FnPtr, r=compiler-errorsbors-3/+3
2024-08-13Add and use `IndexVec::append`Josh Stone-2/+2
2024-08-12Rollup merge of #128978 - compiler-errors:assert-matches, r=jieyouxuGuillaume Gomez-3/+3
2024-08-11Use assert_matches around the compilerMichael Goulet-3/+3
2024-08-11Rollup merge of #128762 - fmease:use-more-slice-pats, r=compiler-errorsMatthias Krüger-16/+14
2024-08-10Auto merge of #128572 - compiler-errors:fix-elaborate-box-derefs-on-debug, r=...bors-8/+9
2024-08-09Shrink `TyKind::FnPtr`.Nicholas Nethercote-3/+3
2024-08-08Don't inline tainted MIR bodiesMichael Goulet-0/+4
2024-08-07Use more slice patterns inside the compilerLeón Orell Valerian Liehr-16/+14
2024-08-07Hide implicit target features from diagnostics when possibleCaleb Zulawski-1/+3
2024-08-03When deduplicating unreachable blocks, erase the source information.Kyle Huey-0/+11
2024-08-03Re-enable SimplifyToExp in match_branches.DianQK-4/+1
2024-08-03Simplify match based on the cast result of `IntToInt`.DianQK-62/+79
2024-08-02Stop doing weird index stuff in ElaborateBoxDerefsMichael Goulet-8/+9
2024-08-01MIR required_consts, mentioned_items: ensure we do not forget to fill these l...Ralf Jung-30/+61
2024-07-31Do not intern if we have provenance.Camille GILLOT-1/+6
2024-07-31Simplify constant creation.Camille GILLOT-5/+10
2024-07-31Encode constant determinism in disambiguator.Camille GILLOT-7/+8
2024-07-31Reduce allocations in GVN.Camille GILLOT-4/+12
2024-07-31Amortize growing rev_locals.Camille GILLOT-1/+7
2024-07-31Indirect places can only appear as first projection in runtime MIR.Camille GILLOT-1/+1
2024-07-31Do not normalize constants eagerly.Camille GILLOT-4/+1
2024-07-29Stop using MoveDataParamEnv for places that don't need a param-envMichael Goulet-11/+14
2024-07-29Perform instsimplify before inline to eliminate some trivial callsDianQK-3/+22
2024-07-29Reformat `use` declarations.Nicholas Nethercote-132/+137
2024-07-28Rollup merge of #128279 - slanterns:is_sorted, r=dtolnayMatthias Krüger-1/+0
2024-07-28stabilize `is_sorted`Slanterns-1/+0
2024-07-27Disable jump threading of float equalityNilstrieb-0/+7
2024-07-26Make coroutine-closures possible to be clonedMichael Goulet-0/+3
2024-07-26Auto merge of #128165 - saethlin:optimize-clone-shims, r=compiler-errorsbors-1/+2
2024-07-26Rollup merge of #128170 - saethlin:clone-fn, r=compiler-errorsTrevor Gross-2/+2
2024-07-25Make Clone::clone a lang itemBen Kimock-2/+2
2024-07-25Let InstCombine remove Clone shims inside Clone shimsBen Kimock-1/+2