about summary refs log tree commit diff
path: root/compiler/rustc_mir_transform/src
AgeCommit message (Expand)AuthorLines
2024-06-26Split lifetimes on mir borrowck dataflowOli Scherer-13/+13
2024-06-24Auto merge of #126784 - scottmcm:smaller-terminator, r=compiler-errorsbors-52/+46
2024-06-21Save 2 pointers in `TerminatorKind` (96 → 80 bytes)Scott McMurray-52/+46
2024-06-21Auto merge of #125853 - tesuji:promote-fail-fast, r=cjgillotbors-17/+15
2024-06-21Reuse allocation for Vec<Candidate>Lzu Tao-6/+3
2024-06-20Replace `NormalizeArrayLen` with `GVN`Scott McMurray-123/+8
2024-06-20More GVN for PtrMetadataScott McMurray-12/+93
2024-06-20Add a try_as_constant+try_as_local helperScott McMurray-19/+19
2024-06-21Auto merge of #126578 - scottmcm:inlining-bonuses-too, r=davidtwcobors-31/+75
2024-06-20Auto merge of #126736 - matthiaskrgr:rollup-rb20oe3, r=matthiaskrgrbors-1/+4
2024-06-20Rollup merge of #126717 - nnethercote:rustfmt-use-pre-cleanups, r=jieyouxuMatthias Krüger-1/+4
2024-06-20Auto merge of #116088 - nbdd0121:unwind, r=Amanieu,RalfJungbors-33/+1
2024-06-19Give inlining bonuses to things that optimize outScott McMurray-20/+63
2024-06-19Give `CostChecker` both penalties and bonusesScott McMurray-15/+16
2024-06-20Add blank lines after module-level `//!` comments.Nicholas Nethercote-1/+4
2024-06-19Ban `ArrayToPointer` and `MutToConstPointer` from runtime MIRScott McMurray-12/+31
2024-06-19Stabilise c_unwindGary Guo-33/+1
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-16promote_consts: eargerly return when there are no candidatesLzu Tao-0/+5
2024-06-16prefer tracing::instrument over debug stringsLzu Tao-11/+7
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