about summary refs log tree commit diff
path: root/compiler/rustc_mir_transform/src
AgeCommit message (Expand)AuthorLines
2024-03-20Replace `mir_built` query with a hook and use mir_const everywhere insteadOli Scherer-7/+6
2024-03-20coverage: Tidy imports in `rustc_mir_transform::coverage::counters`Zalathar-4/+4
2024-03-20coverage: Remove incorrect assertions from counter allocationZalathar-31/+0
2024-03-19Add a few more commentsMichael Goulet-0/+9
2024-03-19Fix ABI for FnMut/Fn impls for async closuresMichael Goulet-5/+19
2024-03-19Only split by-ref/by-move futures for async closuresMichael Goulet-124/+12
2024-03-19Auto merge of #122037 - oli-obk:more_new_intrinsics, r=Nilstriebbors-10/+0
2024-03-19Auto merge of #122021 - oli-obk:delangitemification, r=compiler-errorsbors-3/+1
2024-03-19Remove all checks of `IntrinsicDef::must_be_overridden` except for the actual...Oli Scherer-10/+0
2024-03-18Rollup merge of #122701 - compiler-errors:allocator-suspend, r=oli-obkMatthias Krüger-4/+10
2024-03-18Deduplicate `associated_body` and `body_id`Oli Scherer-3/+1
2024-03-18Detect allocator for box in must_not_suspend lintMichael Goulet-4/+10
2024-03-18Rollup merge of #122647 - RalfJung:box-to-raw-retag, r=oli-obkMatthias Krüger-8/+32
2024-03-18Avoid various uses of `Option<Span>` in favor of using `DUMMY_SP` in the few ...Oli Scherer-4/+4
2024-03-18add_retag: ensure box-to-raw-ptr casts are preserved for MiriRalf Jung-8/+32
2024-03-18Rollup merge of #122656 - RalfJung:simplify-cfg, r=compiler-errorsMatthias Krüger-6/+9
2024-03-17simplify_cfg: rename some passes so that they make more senseRalf Jung-6/+9
2024-03-17some minor code simplificationsMatthias Krüger-3/+2
2024-03-15Rollup merge of #122471 - RalfJung:const-eval-span, r=oli-obkMatthias Krüger-2/+5
2024-03-14preserve span when evaluating mir::ConstOperandRalf Jung-2/+5
2024-03-14Rollup merge of #122322 - Zalathar:branch, r=oli-obkMatthias Krüger-47/+121
2024-03-14Rollup merge of #122368 - pavedroad:master, r=oli-obkMatthias Krüger-1/+1
2024-03-14Auto merge of #122243 - RalfJung:local-place-sanity-check, r=oli-obkbors-1/+1
2024-03-14coverage: Include recorded branch info in coverage instrumentationZalathar-3/+68
2024-03-13Remove restrictions on small enum statements such as `Order`, `Option` or `Re...DianQK-1/+4
2024-03-13Addition of parentheses to clarify precedenceDianQK-1/+1
2024-03-13Add comments for `UnreachableEnumBranching`DianQK-0/+38
2024-03-13coverage: Add `CoverageKind::BlockMarker`Zalathar-0/+5
2024-03-13coverage: Make `is_eligible_for_coverage` a hook methodZalathar-38/+41
2024-03-13Allow `rustc_mir_transform` to register hook providersZalathar-6/+7
2024-03-12chore: remove repetitive wordspavedroad-1/+1
2024-03-12Remove unused fields in some structuresArthur Carcano-4/+3
2024-03-12Ensure nested allocations in statics do not get deduplicatedOli Scherer-1/+7
2024-03-12Change `DefKind::Static` to a struct variantOli Scherer-1/+1
2024-03-11Rename `DecorateLint` as `LintDiagnostic`.Nicholas Nethercote-5/+5
2024-03-11Rename `IntoDiagnostic` as `Diagnostic`.Nicholas Nethercote-4/+4
2024-03-09add_retag: fix comment that does not match the codeRalf Jung-1/+1
2024-03-09Rename `UninhabitedEnumBranching` to `UnreachableEnumBranching`DianQK-12/+13
2024-03-08Distinguish between library and lang UB in assert_unsafe_preconditionBen Kimock-5/+22
2024-03-08Auto merge of #122182 - matthiaskrgr:rollup-gzimi4c, r=matthiaskrgrbors-10/+20
2024-03-08Rollup merge of #119365 - nbdd0121:asm-goto, r=AmanieuMatthias Krüger-10/+20
2024-03-08Auto merge of #120268 - DianQK:otherwise_is_last_variant_switchs, r=oli-obkbors-27/+57
2024-03-08Add a workaround for the `TailDuplicator` compile time overheadDianQK-5/+24
2024-03-08Update MIR with `MirPatch` in `UninhabitedEnumBranching`DianQK-37/+30
2024-03-07Get all variants to eliminate the default branching if we cannot get the layo...DianQK-0/+6
2024-03-07Replace the default branch with an unreachable branch If it is the last variantDianQK-6/+18
2024-03-07Auto merge of #121985 - RalfJung:interpret-return-place, r=oli-obkbors-2/+2
2024-03-05Auto merge of #121780 - nnethercote:diag-renaming2, r=davidtwcobors-6/+6
2024-03-05Rename `DiagnosticMessage` as `DiagMessage`.Nicholas Nethercote-6/+6
2024-03-04consistently use MPlaceTy for return placesRalf Jung-2/+2