about summary refs log tree commit diff
path: root/compiler/rustc_mir_transform/src
AgeCommit message (Expand)AuthorLines
2024-06-18Auto merge of #126623 - oli-obk:do_not_count_errors, r=davidtwcobors-1/+1
2024-06-18Remove redundant argument from `subdiagnostic` methodOli Scherer-1/+1
2024-06-18Rollup merge of #126587 - Zalathar:no-mir-spans, r=oli-obkGuillaume Gomez-16/+25
2024-06-17Rollup merge of #126567 - compiler-errors:instance-kind, r=oli-obk,lcnrMatthias Krüger-72/+75
2024-06-17coverage: Add debugging flag `-Zcoverage-options=no-mir-spans`Zalathar-16/+25
2024-06-17Rollup merge of #126538 - Zalathar:graph, r=nnethercote许杰友 Jieyou Xu (Joe)-154/+46
2024-06-16Rename InstanceDef -> InstanceKindMichael Goulet-72/+75
2024-06-16coverage: Prefer `Iterator::copied`Zalathar-1/+1
2024-06-16coverage: Flatten some graph code with let-elseZalathar-18/+17
2024-06-16coverage: Reduce/simplify visibility in `coverage::graph`Zalathar-24/+28
2024-06-16coverage: Remove some old low-value unit tests for graph traversalZalathar-111/+0
2024-06-16coverage: Split span refinement into two separate stepsZalathar-10/+12
2024-06-16coverage: Split out a function for dividing coverage spans into bucketsZalathar-34/+52
2024-06-16coverage: Eagerly convert coverage spans to a simpler formZalathar-49/+55
2024-06-16coverage: Move most span processing back into `coverage::spans`Zalathar-155/+157
2024-06-16coverage: More consistent variable names for span processingZalathar-25/+25
2024-06-15Rollup merge of #126410 - RalfJung:smir-const-operand, r=oli-obkGuillaume Gomez-7/+7
2024-06-15Rollup merge of #126354 - compiler-errors:variance, r=lcnrMatthias Krüger-21/+6
2024-06-14Use is_lang_item more aggressivelyMichael Goulet-4/+7
2024-06-13Rollup merge of #126392 - WaffleLapkin:gvn-style-ish-changes, r=scottmcmMatthias Krüger-2/+1
2024-06-13MIR visitor: constant -> const_operandRalf Jung-7/+7
2024-06-13Small style improvement in `gvn.rs`Waffle Lapkin-2/+1
2024-06-12Use Variance glob import everywhereMichael Goulet-21/+6
2024-06-12Rollup merge of #126294 - Zalathar:spans-refiner, r=oli-obkGuillaume Gomez-203/+36
2024-06-12coverage: Replace the old span refiner with a single functionZalathar-203/+36
2024-06-12Use `tidy` to sort crate attributes for all compiler crates.Nicholas Nethercote-1/+3
2024-06-11Auto merge of #125910 - scottmcm:single-use-consts, r=saethlinbors-104/+201
2024-06-10Rollup merge of #126159 - RalfJung:scalarint-size-mismatch, r=oli-obkMatthias Krüger-25/+21
2024-06-10ScalarInt: size mismatches are a bug, do not delay the panicRalf Jung-25/+21
2024-06-10Delete `ConstDebugInfo` passScott McMurray-105/+0
2024-06-10Try keeping a bitset for which locals need debuginfo updatesScott McMurray-7/+11
2024-06-10Add `SingleUseConsts` mir-opt passScott McMurray-1/+199
2024-06-09Rollup merge of #125041 - scottmcm:gvn-for-from-raw-parts, r=cjgillot许杰友 Jieyou Xu (Joe)-12/+87
2024-06-08offset_of: allow (unstably) taking the offset of slice tail fieldsRalf Jung-11/+16
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-06-06Enable GVN for `AggregateKind::RawPtr` & `UnOp::PtrMetadata`Scott McMurray-12/+87
2024-06-06Auto merge of #125958 - BoxyUwU:remove_const_ty, r=lcnrbors-6/+15
2024-06-05Add `Ty` to `mir::Const::Ty`Boxy-6/+15
2024-06-05Auto merge of #126038 - matthiaskrgr:rollup-h4rm3x2, r=matthiaskrgrbors-30/+40
2024-06-05Rollup merge of #125893 - cjgillot:gvn-newops, r=oli-obkMatthias Krüger-30/+40
2024-06-04coverage: Remove hole-carving code from the main span refinerZalathar-80/+19
2024-06-04coverage: Use hole spans to carve up coverage spans into separate bucketsZalathar-55/+146
2024-06-04coverage: Build up initial spans by appending to a vectorZalathar-18/+21
2024-06-04coverage: Return a nested vector from initial span extractionZalathar-8/+11
2024-06-04Auto merge of #122597 - pacak:master, r=bjorn3bors-0/+3
2024-06-03Opt-in diagnostics reporting to avoid doing extra work in the new solverMichael Goulet-1/+1
2024-06-03Reformat `mir!` macro invocations to use braces.Nicholas Nethercote-2/+2