summary refs log tree commit diff
path: root/compiler/rustc_mir_transform/src
AgeCommit message (Expand)AuthorLines
2024-11-01Mark `simplify_aggregate_to_copy` mir-opt as unsound许杰友 Jieyou Xu (Joe)-1/+3
2024-10-08coverage. Warn about too many test vectorszhuyunxing-1/+15
2024-10-08coverage. Adapt to mcdc mapping formats introduced by llvm 19zhuyunxing-115/+274
2024-10-07Rollup merge of #131325 - Zalathar:tweak-counters, r=jieyouxuStuart Cook-25/+28
2024-10-07Auto merge of #131068 - RalfJung:immediate-offset-sanity-check, r=nnethercotebors-7/+23
2024-10-06coverage: Store `bcb_needs_counter` in a field as a bitsetZalathar-8/+14
2024-10-06coverage: Have MakeBcbCounters own its CoverageCountersZalathar-13/+14
2024-10-06coverage: Make `BcbCounter` module-privateZalathar-10/+6
2024-10-06Auto merge of #130540 - veera-sivarajan:fix-87525, r=estebankbors-0/+86
2024-10-05fix GVN trying to transmute pointers to integersRalf Jung-7/+23
2024-10-05Add a Lint for Pointer to Integer Transmutes in ConstsVeera-0/+86
2024-10-05Compute array length from type for unconditional panic.Camille GILLOT-7/+9
2024-10-04Rollup merge of #131202 - Urgau:wide-ptrs-compiler, r=jieyouxuGuillaume Gomez-3/+3
2024-10-04Use wide pointers consistenly across the compilerUrgau-3/+3
2024-10-04Auto merge of #131201 - compiler-errors:unop-not, r=cjgillotbors-0/+8
2024-10-03Disable jump threading UnOp::Not for non-boolMichael Goulet-0/+8
2024-10-03Avoid ICE in coverage builds with bad `#[coverage(..)]` attributesZalathar-1/+2
2024-10-01make InterpResult a dedicated type to avoid accidentally discarding the errorRalf Jung-152/+127
2024-09-30panic when an interpreter error gets unintentionally discardedRalf Jung-111/+153
2024-09-29Rollup merge of #130990 - RalfJung:mir-const-normalize, r=compiler-errorsMatthias Krüger-3/+1
2024-09-29cleanup: don't clone types that are CopyMatthias Krüger-8/+7
2024-09-28try to get rid of mir::Const::normalizeRalf Jung-3/+1
2024-09-25Add a debug assertion in codegen that unsize casts of the same principal trai...Michael Goulet-15/+0
2024-09-25Validate unsize coercion in MIR validationMichael Goulet-3/+47
2024-09-25Auto merge of #130803 - cuviper:file-buffered, r=joshtriplettbors-1/+2
2024-09-24Dogfood `feature(file_buffered)`Josh Stone-1/+2
2024-09-24be even more precise about "cast" vs "coercion"Lukas Markeffsky-21/+23
2024-09-24unify dyn* coercions with other pointer coercionsLukas Markeffsky-6/+6
2024-09-24Revert "Auto merge of #129047 - DianQK:early_otherwise_branch_scalar, r=cjgil...许杰友 Jieyou Xu (Joe)-175/+85
2024-09-23Auto merge of #129047 - DianQK:early_otherwise_branch_scalar, r=cjgillotbors-85/+175
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-234/+175
2024-09-18Apply `EarlyOtherwiseBranch` to scalar valueDianQK-85/+175
2024-09-17Rollup merge of #130201 - compiler-errors:foreign-synthetic-body, r=lcnrMatthias Krüger-17/+21
2024-09-17Auto merge of #130455 - compiler-errors:inline-ordering, r=saethlinbors-10/+0
2024-09-16Fix a couple more DefKind discrepancies between DefKind::Closure and DefKind:...Michael Goulet-1/+1
2024-09-17Rollup merge of #130380 - Zalathar:counters, r=jieyouxuMatthias Krüger-151/+170
2024-09-16Remove semi-nondeterminism of DefPathHash ordering from inlinerMichael Goulet-10/+0
2024-09-16Record synthetic MIR bodies in mir_keysMichael Goulet-16/+20
2024-09-16Don't ICE when generating Fn shim for async closure with borrowck errorMichael Goulet-5/+12
2024-09-15coverage: Remove unnecessary `bcb_successors`Zalathar-7/+1
2024-09-15coverage: Replace `bcb_has_multiple_in_edges` with `sole_predecessor`Zalathar-35/+30
2024-09-15coverage: Simplify choosing an out-edge to be given a counter expressionZalathar-69/+48
2024-09-15coverage: Track whether a node's count is the sum of its out-edgesZalathar-13/+57
2024-09-15coverage: Streamline creation of physical edge countersZalathar-6/+17
2024-09-15coverage: Streamline creation of physical node countersZalathar-23/+19
2024-09-15coverage: Tweak comments in `graph`Zalathar-4/+4
2024-09-14Auto merge of #130357 - fmease:rollup-j3ej4q0, r=fmeasebors-20/+20
2024-09-14Rollup merge of #130294 - nnethercote:more-lifetimes, r=lcnrLeón Orell Valerian Liehr-20/+20
2024-09-14Auto merge of #128299 - DianQK:clone-copy, r=cjgillotbors-1/+97
2024-09-14Simplify the canonical clone method to copyDianQK-1/+97