about summary refs log tree commit diff
path: root/tests/mir-opt
AgeCommit message (Expand)AuthorLines
2024-07-02Rollup merge of #127136 - compiler-errors:coroutine-closure-env-shim, r=oli-obkMatthias Krüger-16/+146
2024-07-01Avoid MIR bloat in inliningScott McMurray-843/+285
2024-07-01Rollup merge of #127105 - scottmcm:issue-127089, r=cjgillotMatthias Krüger-0/+127
2024-06-30Add a GVN test for 127089 that doesn't optimize to a constantScott McMurray-0/+52
2024-06-29Fix FnMut/Fn shim for coroutine-closures that capture referencesMichael Goulet-16/+146
2024-06-29Rollup merge of #126835 - Nadrieril:reify-decision-tree, r=matthewjasperMatthias Krüger-93/+66
2024-06-28Only update `Eq` operands in GVN if you can update both sidesScott McMurray-0/+75
2024-06-26Auto merge of #126844 - scottmcm:more-ptr-cast-gvn, r=saethlinbors-103/+1429
2024-06-23Also get `add nuw` from `uN::checked_add`Scott McMurray-30/+20
2024-06-23Make MIR inlining costs in build-std independent of config.tomlScott McMurray-63/+796
2024-06-22GVN away PtrToPtr-then-Transmute when possibleScott McMurray-22/+122
2024-06-22GVN away PtrToPtr before comparisonsScott McMurray-52/+335
2024-06-22Add a `pointee_metadata_ty_or_projection` helperScott McMurray-40/+68
2024-06-22Add a mir test for `slice::Iter::is_empty`Scott McMurray-0/+182
2024-06-22Don't use fake wildcards when we can get the failure block directlyNadrieril-93/+66
2024-06-20[GVN] Add tests for generic pointees with PtrMetadataScott McMurray-0/+126
2024-06-20Replace `NormalizeArrayLen` with `GVN`Scott McMurray-95/+130
2024-06-20More GVN for PtrMetadataScott McMurray-62/+218
2024-06-21Auto merge of #126578 - scottmcm:inlining-bonuses-too, r=davidtwcobors-43/+283
2024-06-20Rollup merge of #126717 - nnethercote:rustfmt-use-pre-cleanups, r=jieyouxuMatthias Krüger-1/+1
2024-06-19Give inlining bonuses to things that optimize outScott McMurray-43/+283
2024-06-20Move an `EMIT_MIR` comment.Nicholas Nethercote-1/+1
2024-06-19Ban `ArrayToPointer` and `MutToConstPointer` from runtime MIRScott McMurray-18/+18
2024-06-16Expand or-candidates mixed with candidates aboveNadrieril-22/+18
2024-06-16Add testsNadrieril-0/+203
2024-06-15Redo SliceIndex implementationsScott McMurray-19/+285
2024-06-14Add ub-checks to slice_index MIR-opt testScott McMurray-1/+1
2024-06-12Rollup merge of #126294 - Zalathar:spans-refiner, r=oli-obkGuillaume Gomez-1/+1
2024-06-12coverage: Replace the old span refiner with a single functionZalathar-1/+1
2024-06-11Remove DebugWithInfcxMichael Goulet-12/+18
2024-06-10Delete `ConstDebugInfo` passScott McMurray-20/+36
2024-06-10Add `SingleUseConsts` mir-opt passScott McMurray-343/+805
2024-06-09Rollup merge of #125041 - scottmcm:gvn-for-from-raw-parts, r=cjgillot许杰友 Jieyou Xu (Joe)-14/+432
2024-06-07Revert "Create const block DefIds in typeck instead of ast lowering"Oli Scherer-1/+1
2024-06-06Enable GVN for `AggregateKind::RawPtr` & `UnOp::PtrMetadata`Scott McMurray-14/+432
2024-06-05Bless tests and handle tests/crashesBoxy-2/+2
2024-06-03rustfmt `tests/mir-opt`.Nicholas Nethercote-227/+246
2024-06-03Reformat `mir!` macro invocations to use braces.Nicholas Nethercote-258/+299
2024-05-30Also InstSimplify `&raw*`Scott McMurray-0/+156
2024-05-31Revert "Auto merge of #115105 - cjgillot:dest-prop-default, r=oli-obk"Camille GILLOT-371/+422
2024-05-30Auto merge of #115105 - cjgillot:dest-prop-default, r=oli-obkbors-422/+371
2024-05-29Enable DestinationPropagation by default.Camille GILLOT-422/+371
2024-05-30Rollup merge of #125701 - scottmcm:generic-from-raw-parts, r=WaffleLapkinLeón Orell Valerian Liehr-5/+15
2024-05-29[ACP 362] genericize `ptr::from_raw_parts`Scott McMurray-5/+15
2024-05-29Auto merge of #125360 - RalfJung:packed-field-reorder, r=fmeasebors-1/+1
2024-05-28Add custom mir support for `PtrMetadata`Scott McMurray-0/+23
2024-05-28Add an intrinsic for `ptr::metadata`Scott McMurray-14/+141
2024-05-28Create const block DefIds in typeck instead of ast loweringOli Scherer-1/+1
2024-05-26Rollup merge of #125559 - scottmcm:simplify-shift-ubcheck, r=workingjubileeJubilee-4/+4
2024-05-26Auto merge of #125518 - saethlin:check-arguments-new-in-const, r=joboetbors-69/+61