about summary refs log tree commit diff
path: root/tests/mir-opt
AgeCommit message (Expand)AuthorLines
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
2024-04-24Error on using `yield` without also using `#[coroutine]` on the closureOli Scherer-39/+43
2024-04-23Rollup merge of #122598 - Nadrieril:full-derefpats, r=matthewjasperLeón Orell Valerian Liehr-74/+74
2024-04-22Rollup merge of #124230 - reitermarkus:generic-nonzero-stable, r=dtolnayGuillaume Gomez-1/+0
2024-04-22Stabilize generic `NonZero`.Markus Reiter-1/+0
2024-04-22coverage: Add a mir-opt test for branch coverage of match armsZalathar-0/+165
2024-04-22coverage: Move mir-opt coverage tests into a subdirectoryZalathar-0/+0
2024-04-21Update tests after 123949Scott McMurray-82/+0
2024-04-21InstSimplify `from_raw_parts(p, ())` → `p as _`Scott McMurray-40/+13
2024-04-21Use it in the library, and `InstSimplify` it away in the easy placesScott McMurray-18/+234
2024-04-21Add an intrinsic that lowers to AggregateKind::RawPtrScott McMurray-0/+200
2024-04-21Add a mir-opt test for `byte_add` on pointersScott McMurray-0/+248
2024-04-21Add a MIR pre-codegen test for Vec::derefScott McMurray-0/+41
2024-04-21New slice indexing pre-codegen MIR testScott McMurray-0/+47
2024-04-20Use newly exposed Freeze trait.Camille GILLOT-54/+58
2024-04-20Dereference immutable borrows in GVN.Camille GILLOT-33/+57
2024-04-20Merge borrowed locals too.Camille GILLOT-111/+80
2024-04-20GVN borrowed locals too.Camille GILLOT-79/+52