about summary refs log tree commit diff
path: root/tests/mir-opt
AgeCommit message (Expand)AuthorLines
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
2024-05-25Simplify the `unchecked_sh[lr]` ub-checks a bitScott McMurray-4/+4
2024-05-24Move the checks for Arguments constructors to inline constBen Kimock-69/+61
2024-05-23Add assert_unsafe_precondition to unchecked_{add,sub,neg,mul,shl,shr} methodsltdk-148/+128
2024-05-21don't inhibit random field reordering on repr(packed(1))Ralf Jung-1/+1
2024-05-20Rollup merge of #125173 - scottmcm:never-checked, r=davidtwcoMatthias Krüger-45/+45
2024-05-20Rollup merge of #125106 - Zalathar:expressions, r=davidtwcoMatthias Krüger-10/+4
2024-05-17Remove `Rvalue::CheckedBinaryOp`Scott McMurray-45/+45
2024-05-17Rename Unsafe to SafetySantiago Pastorino-10/+10
2024-05-14coverage: Simplify counter expressions using simple algebraZalathar-10/+4
2024-05-08Auto merge of #124795 - scottmcm:simplify-slice-from-raw-parts, r=joboetbors-76/+128
2024-05-07Auto merge of #123332 - Nadrieril:testkind-never, r=matthewjasperbors-0/+155
2024-05-06Avoid a cast in `ptr::slice_from_raw_parts(_mut)`Scott McMurray-76/+128
2024-05-05Rollup merge of #124749 - RossSmyth:stable_range, r=davidtwcoGuillaume Gomez-1/+0
2024-05-04Lower never patterns to Unreachable in mirNadrieril-17/+101
2024-05-04Add testsNadrieril-0/+71
2024-05-03Auto merge of #123602 - cjgillot:gvn-borrowed, r=oli-obkbors-206/+499
2024-05-02Stabilize exclusive_rangeRoss Smyth-1/+0
2024-04-28Update mir-opt tests, add proper regression testGeorge Bateman-510/+172
2024-04-24Fix tests and blessGary Guo-4/+3