about summary refs log tree commit diff
path: root/tests/mir-opt
AgeCommit message (Expand)AuthorLines
2025-01-29Rollup merge of #136176 - oli-obk:pattern-type-mir-opts, r=compiler-errorsLeón Orell Valerian Liehr-0/+27
2025-01-28Make mir dumps more readableOli Scherer-4/+4
2025-01-28Add mir-opt pattern type testsOli Scherer-0/+27
2025-01-28Represent the raw pointer for a array length check as a new kind of fake borrowMichael Goulet-4/+4
2025-01-27Reapply "Auto merge of #133734 - scottmcm:lower-indexing-to-ptrmetadata, r=da...Michael Goulet-1411/+1151
2025-01-25Auto merge of #128657 - clubby789:optimize-none, r=fee1-dead,WaffleLapkinbors-0/+32
2025-01-24Rollup merge of #135976 - WaffleLapkin:tailcall-nodrop, r=oli-obkMatthias Krüger-8/+0
2025-01-24don't drop types with no drop glue when tailcallingWaffle Lapkin-8/+0
2025-01-24coverage: Tweak FileCheck directives in a mir-opt testZalathar-16/+19
2025-01-23Disable non-required MIR opts with `optimize(none)`clubby789-0/+32
2025-01-20Rollup merge of #133695 - x17jiri:hint_likely, r=AmanieuMatthias Krüger-4/+4
2025-01-18Revert "Auto merge of #133734 - scottmcm:lower-indexing-to-ptrmetadata, r=dav...Rémy Rakic-1167/+1419
2025-01-18Revert "Auto merge of #134330 - scottmcm:no-more-rvalue-len, r=matthewjasper"Rémy Rakic-36/+81
2025-01-16Rollup merge of #135481 - Zalathar:node-flow, r=oli-obkMatthias Krüger-5/+5
2025-01-16coverage: Completely overhaul counter assignment, using node-flow graphsZalathar-5/+5
2025-01-15Less unsafe in `dangling`/`without_provenance`Scott McMurray-437/+253
2025-01-15Export likely(), unlikely() and cold_path() in std::hintJiri Bobek-4/+4
2025-01-13Rollup merge of #134498 - oli-obk:push-wmxynprsyxvr, r=compiler-errorsJacob Pratt-7/+22
2025-01-12Rollup merge of #135377 - compiler-errors:impossible-step, r=oli-obkMatthias Krüger-0/+40
2025-01-11Address PR feedbackScott McMurray-4/+43
2025-01-11[mir-opt] simplify `Repeat`s that don't actually repeat the operandScott McMurray-12/+72
2025-01-11Make MIR cleanup for functions with impossible predicates into a real MIR passMichael Goulet-0/+40
2025-01-11Auto merge of #135274 - saethlin:array-repeats, r=compiler-errorsbors-0/+146
2025-01-10don't collect `#[rustc_force_inline]` in eager modeDavid Wood-0/+59
2025-01-10mir_transform: implement forced inliningDavid Wood-0/+150
2025-01-10Fix cycle error only occurring with -Zdump-mirOli Scherer-7/+22
2025-01-09Add an InstSimplify for repetitive array expressionsBen Kimock-0/+146
2025-01-08Make the aggregate-then-transmute handling more generalScott McMurray-295/+505
2025-01-08Refactor the cast-then-cast cases together, and support transmute-then-transmuteScott McMurray-23/+475
2025-01-08Use layout information to detect transparent transmutesScott McMurray-9/+77
2025-01-08[mir-opt] GVN some more transmute casesScott McMurray-624/+979
2025-01-08Try to explain borrow for tail expr temporary drop order change in 2024Michael Goulet-0/+2
2025-01-06Transmute from NonNull to pointer when elaborating a box deref (MCP807)Scott McMurray-15/+15
2025-01-03turn rustc_box into an intrinsicRalf Jung-25/+9
2024-12-27MatchBranchSimplification: Consider empty-unreachable otherwise branchclubby789-39/+42
2024-12-27Add diff test for MatchBranchSimplificationclubby789-0/+46
2024-12-23Revert "Auto merge of #130766 - clarfonthey:stable-coverage-attribute, r=wesl...Zalathar-7/+8
2024-12-22Delete `Rvalue::Len`Scott McMurray-81/+36
2024-12-22Auto merge of #134326 - scottmcm:slice-drop-shim-ptrmetadata, r=saethlinbors-1/+66
2024-12-19Auto merge of #134516 - matthiaskrgr:rollup-aqwxii0, r=matthiaskrgrbors-22/+22
2024-12-19Auto merge of #134486 - compiler-errors:drop-for-lint, r=nikomatsakisbors-0/+354
2024-12-19Rollup merge of #134497 - Zalathar:spans, r=jieyouxuMatthias Krüger-22/+22
2024-12-19Rollup merge of #133702 - RalfJung:single-variant, r=oli-obk许杰友 Jieyou Xu (Joe)-11/+16
2024-12-19coverage: Store coverage source regions as `Span` until codegenZalathar-22/+22
2024-12-18Separate DropKind::ForLintMichael Goulet-100/+52
2024-12-18Add a failing testMichael Goulet-0/+402
2024-12-18mir-opt: Do not handle the cleanup BB in the EarlyOtherwiseBranchDianQK-86/+49
2024-12-18mir-opt: a sub-BB of a cleanup BB must also be a cleanup BBDianQK-0/+320
2024-12-18Reapply "Auto merge of #129047 - DianQK:early_otherwise_branch_scalar, r=cjgi...DianQK-0/+247
2024-12-18Variants::Single: do not use invalid VariantIdx for uninhabited enumsRalf Jung-11/+16