about summary refs log tree commit diff
path: root/compiler/rustc_mir_transform
AgeCommit message (Expand)AuthorLines
2024-05-27Auto merge of #125410 - fmease:adj-lint-diag-api, r=nnethercotebors-14/+8
2024-05-27interpret: get rid of 'mir lifetime everywhereRalf Jung-12/+11
2024-05-26Avoid a `FieldIdx::from_usize` in InstSimplifyScott McMurray-5/+4
2024-05-26Rollup merge of #125508 - scottmcm:fix-125506, r=NilstriebMatthias Krüger-0/+5
2024-05-25Stop SRoA'ing `DynMetadata` in MIRScott McMurray-0/+5
2024-05-24compiler: unnest rustc_const_eval::check_constsJubilee Young-2/+2
2024-05-24compiler: const_eval/transform/validate.rs -> mir_transform/validate.rsJubilee Young-2/+1409
2024-05-23Remove `LintDiagnostic::msg`León Orell Valerian Liehr-14/+8
2024-05-21interpret: make overflowing binops just normal binopsRalf Jung-51/+66
2024-05-20Rollup merge of #125173 - scottmcm:never-checked, r=davidtwcoMatthias Krüger-52/+38
2024-05-20Rollup merge of #125106 - Zalathar:expressions, r=davidtwcoMatthias Krüger-5/+80
2024-05-17Remove `Rvalue::CheckedBinaryOp`Scott McMurray-52/+38
2024-05-17Rename Unsafe to SafetySantiago Pastorino-2/+2
2024-05-14coverage: `CoverageIdsInfo::mcdc_bitmap_bytes` is never neededZalathar-11/+1
2024-05-14coverage: Simplify counter expressions using simple algebraZalathar-0/+37
2024-05-14coverage: Memoize newly-created counter expressionsZalathar-3/+21
2024-05-14coverage: Store expression operands as `BcbCounter`Zalathar-4/+24
2024-05-13Auto merge of #125076 - compiler-errors:alias-term, r=lcnrbors-2/+1
2024-05-13split out AliasTy -> AliasTermMichael Goulet-2/+1
2024-05-13Remove `extern crate rustc_middle` from `rustc_mir_transform`.Nicholas Nethercote-2/+31
2024-05-10Rollup merge of #124957 - compiler-errors:builtin-deref, r=michaelwoeristerMatthias Krüger-9/+9
2024-05-10Rollup merge of #124615 - Zalathar:extracted-mappings, r=davidtwcoMatthias Krüger-107/+118
2024-05-09Make builtin_deref just return a TyMichael Goulet-9/+9
2024-05-08Simplify `use crate::rustc_foo::bar` occurrences.Nicholas Nethercote-1/+1
2024-05-06coverage: Tidy imports in `rustc_mir_transform::coverage`Zalathar-7/+8
2024-05-06coverage: Rename `CoverageSpans` to `ExtractedMappings`Zalathar-21/+27
2024-05-06coverage: Destructure the mappings struct to make sure we don't miss anyZalathar-4/+13
2024-05-06coverage: Don't recompute the number of test vector bitmap bytesZalathar-33/+12
2024-05-06coverage: Make the special case for async functions exit earlyZalathar-18/+21
2024-05-06coverage: Separately compute the set of BCBs with counter mappingsZalathar-46/+59
2024-05-04coverage: Rename `BcbBranchPair` to `mappings::BranchPair`Zalathar-7/+7
2024-05-04coverage: Flatten `BcbMappingKind` into `mappings::CodeMapping`Zalathar-32/+20
2024-05-04coverage: Extract helper `region_for_span`Zalathar-4/+5
2024-05-04coverage: Split out MC/DC branches from `BcbMappingKind`Zalathar-80/+72
2024-05-04coverage: Split out MC/DC decisions from `BcbMappingKind`Zalathar-51/+71
2024-05-03Auto merge of #123602 - cjgillot:gvn-borrowed, r=oli-obkbors-42/+78
2024-05-03Rollup merge of #124555 - Zalathar:init-coverage, r=nnethercoteMatthias Krüger-3/+3
2024-05-02Rollup merge of #124624 - WaffleLapkin:old_unit, r=fmeaseMatthias Krüger-1/+1
2024-05-02Inline & delete `Ty::new_unit`, since it's just a field accessWaffle Lapkin-1/+1
2024-05-01Step bootstrap cfgsMark Rousskov-1/+0
2024-05-01coverage: Replace `max_decision_depth` with `num_condition_bitmaps`Zalathar-3/+3
2024-04-30Auto merge of #124558 - matthiaskrgr:rollup-axi1bxu, r=matthiaskrgrbors-29/+18
2024-04-30Remove redundant union check in `KnownPanicsLint const propGurinder Singh-29/+18
2024-04-30coverage: Split off `mappings.rs` from `spans.rs` and `from_mir.rs`Zalathar-275/+283
2024-04-30coverage: Prepare to split `spans.rs` into two filesZalathar-26/+30
2024-04-29Rollup merge of #124504 - gurry:123710-union-ICE, r=oli-obk许杰友 Jieyou Xu (Joe)-7/+13
2024-04-29Auto merge of #124255 - RenjiSann:renji/mcdc-nested-expressions, r=Zalatharbors-24/+57
2024-04-29mcdc-coverage: Get decision_depth from THIR loweringDorian Péron-0/+11
2024-04-29mcdc-coverage: Add decision_depth field in structsDorian Péron-24/+46
2024-04-29Prohibit const prop of unions in `KnownPanicsLint`Gurinder Singh-7/+13