summary refs log tree commit diff
path: root/compiler/rustc_mir_transform
AgeCommit message (Expand)AuthorLines
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-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-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-10Auto merge of #121662 - saethlin:precondition-unification, r=RalfJungbors-5/+22
2024-03-09Rollup merge of #121584 - klensy:itertools-up, r=Mark-SimulacrumGuillaume Boisseau-1/+1
2024-03-09add_retag: fix comment that does not match the codeRalf Jung-1/+1
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-08bump itertools to 0.12klensy-1/+1
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
2024-03-04Remove some depgraph edges on the HIR by invoking the intrinsic query instead...Oli Scherer-3/+3
2024-03-04Add a scheme for moving away from `extern "rust-intrinsic"` entirelyOli Scherer-0/+10
2024-03-04Return a struct from `query intrinsic` to be able to add another field in the...Oli Scherer-7/+7
2024-03-04Add `is_intrinsic` helperOli Scherer-1/+1
2024-03-01Fix typo in commentGurinder Singh-1/+1
2024-02-29Rollup merge of #121654 - compiler-errors:async-fn-for-fn-def, r=oli-obkGuillaume Gomez-1/+5
2024-02-28Rename `DiagnosticArg{,Map,Name,Value}` as `DiagArg{,Map,Name,Value}`.Nicholas Nethercote-4/+4
2024-02-28Rename `DiagnosticBuilder` as `Diag`.Nicholas Nethercote-8/+8
2024-02-27Also support `fnptr(): async Fn` in codegenMichael Goulet-1/+5
2024-02-27ffi_unwind_calls: treat RustIntrinsic like regular Rust callsRalf Jung-4/+9
2024-02-26Auto merge of #121516 - RalfJung:platform-intrinsics-begone, r=oli-obkbors-1/+0
2024-02-26Do not const pop unionsGurinder Singh-14/+26
2024-02-25remove platform-intrinsics ABI; make SIMD intrinsics be regular intrinsicsRalf Jung-1/+0
2024-02-25Auto merge of #121114 - Nilstrieb:no-inline!, r=saethlinbors-0/+4
2024-02-24Add `#[rustc_no_mir_inline]` for standard library UB checksNilstrieb-0/+4
2024-02-24Implement asm goto in MIR and MIR loweringGary Guo-1/+2
2024-02-24Change InlineAsm to allow multiple targets insteadGary Guo-9/+18
2024-02-24promotion: don't promote int::MIN / -1Ralf Jung-3/+26
2024-02-23Rollup merge of #121492 - Zalathar:hole, r=fmeaseMatthias Krüger-65/+62
2024-02-23coverage: Rename `is_closure` to `is_hole`Zalathar-60/+59