summary refs log tree commit diff
path: root/compiler/rustc_middle/src/mir
AgeCommit message (Expand)AuthorLines
2024-03-16Auto merge of #121926 - tgross35:f16-f128-step3-feature-gate, r=compiler-erro...bors-1/+21
2024-03-14coverage: Include recorded branch info in coverage instrumentationZalathar-1/+8
2024-03-14Add compiler support for parsing `f16` and `f128`Trevor Gross-1/+21
2024-03-14coverage: Data structures for recording branch info during MIR buildingZalathar-2/+51
2024-03-13coverage: Add `CoverageKind::BlockMarker`Zalathar-0/+16
2024-03-12Avoid lowering code under dead SwitchInt targetsBen Kimock-3/+126
2024-03-12s/mt/mutability/Oli Scherer-2/+4
2024-03-12Ensure nested allocations in statics do not get deduplicatedOli Scherer-1/+11
2024-03-12Add `nested` bool to `DefKind::Static`.Oli Scherer-2/+4
2024-03-12Change `DefKind::Static` to a struct variantOli Scherer-2/+2
2024-03-11Make `DefiningAnchor::Bind` only store the opaque types that may be constrain...Oli Scherer-0/+10
2024-03-11Auto merge of #122132 - nnethercote:diag-renaming3, r=nnethercotebors-12/+12
2024-03-11Rename `IntoDiagnosticArg` as `IntoDiagArg`.Nicholas Nethercote-12/+12
2024-03-10MIR printing: print the path of uneval'd const; refer to promoteds in a consi...Ralf Jung-4/+17
2024-03-08Distinguish between library and lang UB in assert_unsafe_preconditionBen Kimock-4/+12
2024-03-08Auto merge of #122182 - matthiaskrgr:rollup-gzimi4c, r=matthiaskrgrbors-72/+83
2024-03-08Rollup merge of #119365 - nbdd0121:asm-goto, r=AmanieuMatthias Krüger-72/+83
2024-03-08Update MIR with `MirPatch` in `UninhabitedEnumBranching`DianQK-2/+25
2024-03-07Replace the default branch with an unreachable branch If it is the last variantDianQK-0/+11
2024-03-05Rename `DiagnosticMessage` as `DiagMessage`.Nicholas Nethercote-8/+4
2024-02-29Rollup merge of #121782 - RalfJung:mutable-ref-in-static, r=oli-obkMatthias Krüger-1/+0
2024-02-29allow statics pointing to mutable staticsRalf Jung-1/+0
2024-02-28Auto merge of #121489 - nnethercote:diag-renaming, r=davidtwcobors-10/+10
2024-02-28Rename `DiagnosticArg{,Map,Name,Value}` as `DiagArg{,Map,Name,Value}`.Nicholas Nethercote-10/+10
2024-02-27Split rustc_type_ir to avoid rustc_ast from depending on itOli Scherer-1/+1
2024-02-24Implement asm goto in MIR and MIR loweringGary Guo-1/+9
2024-02-24Change InlineAsm to allow multiple targets insteadGary Guo-48/+54
2024-02-24Use slice.chain(option) for SuccessorsGary Guo-31/+28
2024-02-18By tracking import use types to check whether it is scope uses or the other s...surechen-1/+1
2024-02-16Rollup merge of #121179 - RalfJung:zst-mutable-refs, r=oli-obkGuillaume Gomez-4/+5
2024-02-16allow mutable references in const values when they point to no memoryRalf Jung-4/+5
2024-02-16Auto merge of #120486 - reitermarkus:use-generic-nonzero, r=dtolnaybors-7/+7
2024-02-15Auto merge of #120931 - chenyukang:yukang-cleanup-hashmap, r=michaelwoeristerbors-5/+4
2024-02-15Auto merge of #116564 - oli-obk:evaluated_static_in_metadata, r=RalfJung,cjgi...bors-57/+12
2024-02-15Return ConstAllocation from eval_static_initializer query directlyOli Scherer-35/+6
2024-02-15Add new query just for static initializersOli Scherer-26/+10
2024-02-15Replace `NonZero::<_>::new` with `NonZero::new`.Markus Reiter-2/+2
2024-02-15Use generic `NonZero` internally.Markus Reiter-7/+7
2024-02-15Enforce coroutine-closure layouts are identicalMichael Goulet-2/+4
2024-02-14clean up potential_query_instability with FxIndexMap and UnordMapyukang-5/+4
2024-02-12Rollup merge of #120958 - ShoyuVanilla:remove-subst, r=oli-obkMatthias Krüger-10/+10
2024-02-12Rollup merge of #120950 - compiler-errors:miri-async-closurs, r=RalfJung,oli-obkMatthias Krüger-1/+1
2024-02-12Dejargnonize substShoyu Vanilla-10/+10
2024-02-11is_closure_likeMichael Goulet-1/+1
2024-02-11Rollup merge of #120883 - RalfJung:extern-static-err, r=oli-obkMatthias Krüger-1/+1
2024-02-11Rollup merge of #120882 - RalfJung:set-discriminant, r=compiler-errorsMatthias Krüger-0/+2
2024-02-10detect consts that reference extern staticsRalf Jung-0/+1
2024-02-10validation: descend from consts into staticsRalf Jung-0/+1
2024-02-10interpret: rename ReadExternStatic → ExternStaticRalf Jung-1/+1
2024-02-10interpret/write_discriminant: when encoding niched variant, ensure the stored...Ralf Jung-0/+2