about summary refs log tree commit diff
path: root/compiler/rustc_middle/src/mir
AgeCommit message (Expand)AuthorLines
2024-04-08Transforms match into an assignment statementDianQK-0/+6
2024-04-07Only collect mono items from reachable blocksBen Kimock-53/+95
2024-04-06Put checks that detect UB under their own flag below debug_assertionsBen Kimock-5/+3
2024-04-04Rollup merge of #123439 - Zalathar:constants, r=oli-obkMatthias Krüger-8/+0
2024-04-04Auto merge of #123052 - maurer:addr-taken, r=compiler-errorsbors-1/+1
2024-04-03Rollup merge of #123401 - Zalathar:assert-size-aarch64, r=fmeaseJacob Pratt-7/+7
2024-04-04coverage: Remove useless constantsZalathar-8/+0
2024-04-03Rollup merge of #123419 - petrochenkov:zeroindex, r=compiler-errorsMatthias Krüger-2/+2
2024-04-03rustc_index: Add a `ZERO` constant to index typesVadim Petrochenkov-2/+2
2024-04-03rename `expose_addr` to `expose_provenance`joboet-3/+3
2024-04-03Remove MIR unsafe checkMatthew Jasper-77/+1
2024-04-03Check `x86_64` size assertions on `aarch64`, tooZalathar-7/+7
2024-04-02Rollup merge of #122935 - RalfJung:with-exposed-provenance, r=AmanieuJacob Pratt-3/+3
2024-04-02Auto merge of #118310 - scottmcm:three-way-compare, r=davidtwcobors-1/+17
2024-04-02Track reason for creating a `ReifyShim`Matthew Maurer-1/+1
2024-03-29Auto merge of #122450 - Urgau:simplify-trim-paths-feature, r=michaelwoeristerbors-2/+6
2024-03-29Auto merge of #123080 - Jules-Bertholet:mut-ref-mut, r=Nadrierilbors-6/+8
2024-03-29Auto merge of #122975 - DianQK:simplify_ub_check, r=saethlinbors-2/+2
2024-03-29Auto merge of #122671 - Mark-Simulacrum:const-panic-msg, r=Nilstriebbors-24/+49
2024-03-28Replace `RemapFileNameExt::for_codegen` with explicit callsUrgau-2/+6
2024-03-27Implement `mut ref`/`mut ref mut`Jules Bertholet-6/+8
2024-03-27Eliminate `UbCheck` for non-standard librariesDianQK-2/+2
2024-03-27Rollup merge of #123021 - compiler-errors:coroutine-layout-lol, r=oli-obkGuillaume Gomez-2/+3
2024-03-26Auto merge of #111769 - saethlin:ctfe-backtrace-ctrlc, r=RalfJungbors-0/+2
2024-03-24Require coroutine kind type to be passed to TyCtxt::coroutine_layoutMichael Goulet-2/+3
2024-03-24Address PR feedbackScott McMurray-0/+8
2024-03-24Rollup merge of #122937 - Zalathar:unbox, r=oli-obkMatthias Krüger-12/+7
2024-03-23Add+Use `mir::BinOp::Cmp`Scott McMurray-1/+9
2024-03-23refactor check_{lang,library}_ub: use a single intrinsic, put policy into lib...Ralf Jung-13/+6
2024-03-23rename MIR int2ptr casts to match library nameRalf Jung-2/+2
2024-03-23rename ptr::from_exposed_addr -> ptr::with_exposed_provenanceRalf Jung-1/+1
2024-03-23Unbox and unwrap the contents of `StatementKind::Coverage`Zalathar-12/+7
2024-03-22Ty::new_ref and Ty::new_ptr stop using TypeAndMutMichael Goulet-2/+2
2024-03-22Codegen const panic messages as function callsMark Rousskov-24/+49
2024-03-22Rollup merge of #122820 - oli-obk:no_ord_def_id, r=estebankMatthias Krüger-3/+11
2024-03-22Rollup merge of #122542 - Zalathar:cleanup, r=oli-obkMatthias Krüger-3/+3
2024-03-22Rollup merge of #122537 - RalfJung:interpret-allocation, r=oli-obkMatthias Krüger-11/+31
2024-03-22coverage: Clean up marker statements that aren't needed laterZalathar-3/+3
2024-03-21Stop `ConstraintCategory` `Ord` impl from relying on `Ty`'s `Ord` impl.Oli Scherer-2/+10
2024-03-21Remove unnecessary Partial/Ord implOli Scherer-1/+1
2024-03-21Auto merge of #122568 - RalfJung:mentioned-items, r=oli-obkbors-0/+46
2024-03-20Auto merge of #120717 - compiler-errors:cap-closure-kind, r=oli-obkbors-14/+5
2024-03-20mentioned_items: record all callee and coerced closure types, whether they ar...Ralf Jung-6/+18
2024-03-20mentioned items: also handle closure-to-fn-ptr coercionsRalf Jung-1/+2
2024-03-20mentioned items: also handle vtablesRalf Jung-1/+5
2024-03-20avoid processing mentioned items that are also still usedRalf Jung-1/+1
2024-03-20collector: recursively traverse 'mentioned' items to evaluate their constantsRalf Jung-0/+29
2024-03-20Rollup merge of #121543 - onur-ozkan:clippy-args, r=oli-obkMatthias Krüger-2/+2
2024-03-20resolve clippy errorsonur-ozkan-2/+2
2024-03-19Fix ABI for FnMut/Fn impls for async closuresMichael Goulet-0/+1