about summary refs log tree commit diff
path: root/tests/mir-opt/pre-codegen
AgeCommit message (Expand)AuthorLines
2025-01-15Export likely(), unlikely() and cold_path() in std::hintJiri Bobek-4/+4
2025-01-08Refactor the cast-then-cast cases together, and support transmute-then-transmuteScott McMurray-18/+30
2025-01-08[mir-opt] GVN some more transmute casesScott McMurray-495/+403
2024-12-14Auto merge of #133734 - scottmcm:lower-indexing-to-ptrmetadata, r=davidtwco,R...bors-171/+151
2024-12-10We don't need `NonNull::as_ptr` debuginfoScott McMurray-98/+60
2024-12-04Rollup merge of #133651 - scottmcm:nonnull-nonzero-no-field-projection, r=oli...Matthias Krüger-481/+525
2024-12-03Update `NonZero` and `NonNull` to not field-project (per MCP807)Scott McMurray-481/+525
2024-12-03Bounds-check with PtrMetadata instead of Len in MIRScott McMurray-171/+151
2024-11-25comment out the old tests instead of adjusting themRalf Jung-0/+1
2024-11-25Do not unify dereferences in GVN.Camille GILLOT-145/+181
2024-11-25Add test.Camille GILLOT-0/+154
2024-11-17Likely unlikely fixJiri Bobek-24/+22
2024-11-07Rollup merge of #131913 - jieyouxu:only_debug_assertions, r=onur-ozkanJubilee-3/+4
2024-10-31tests: `ignore-debug` -> `ignore-std-debug-assertions`许杰友 Jieyou Xu (Joe)-3/+4
2024-10-31Mark `simplify_aggregate_to_copy` mir-opt as unsound许杰友 Jieyou Xu (Joe)-29/+47
2024-10-16Rollup merge of #130822 - bjoernager:non-null-from-ref, r=dtolnayMatthias Krüger-62/+74
2024-10-07Disable slice_iter mir-opt test in debug buildsBen Kimock-0/+1
2024-10-07Bless mir-opt testsBen Kimock-98/+38
2024-10-07Add precondition checks to ptr::offset, ptr::add, ptr::subBen Kimock-38/+98
2024-10-07Rollup merge of #128399 - mammothbane:master, r=Amanieu,tgross35Stuart Cook-96/+86
2024-10-06liballoc: introduce String, Vec const-slicingNathan Perry-96/+86
2024-09-27Add 'from_ref' and 'from_mut' constructors to 'core::ptr::NonNull';Gabriel Bjørnager Jensen-62/+74
2024-09-24be even more precise about "cast" vs "coercion"Lukas Markeffsky-2/+2
2024-09-14Simplify the canonical clone method to copyDianQK-49/+159
2024-08-31ignore/fix layout-sensitive testsThe 8472-0/+1
2024-08-18Bless *all* the mir-opt testsScott McMurray-379/+379
2024-08-18Update mir-opt filechecksScott McMurray-10/+10
2024-08-09Polymorphize RawVecBen Kimock-64/+124
2024-07-31Do not normalize constants eagerly.Camille GILLOT-28/+16
2024-07-29Perform instsimplify before inline to eliminate some trivial callsDianQK-50/+80
2024-07-12Rollup merge of #126502 - cuviper:dump-mir-exclude-alloc-bytes, r=estebankJubilee-17/+9
2024-07-01Avoid MIR bloat in inliningScott McMurray-795/+63
2024-06-26Bless mir-opt for excluded alloc bytesJosh Stone-16/+8
2024-06-26Use `-Zdump-mir-exclude-alloc-bytes` in some mir-opt testsJosh Stone-1/+1
2024-06-26Auto merge of #126844 - scottmcm:more-ptr-cast-gvn, r=saethlinbors-63/+954
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/+14
2024-06-22GVN away PtrToPtr before comparisonsScott McMurray-52/+36
2024-06-22Add a mir test for `slice::Iter::is_empty`Scott McMurray-0/+182
2024-06-20Replace `NormalizeArrayLen` with `GVN`Scott McMurray-11/+11
2024-06-20More GVN for PtrMetadataScott McMurray-44/+36
2024-06-19Give inlining bonuses to things that optimize outScott McMurray-43/+283
2024-06-19Ban `ArrayToPointer` and `MutToConstPointer` from runtime MIRScott McMurray-8/+8
2024-06-15Redo SliceIndex implementationsScott McMurray-19/+285
2024-06-14Add ub-checks to slice_index MIR-opt testScott McMurray-1/+1
2024-06-10Add `SingleUseConsts` mir-opt passScott McMurray-334/+302
2024-06-06Enable GVN for `AggregateKind::RawPtr` & `UnOp::PtrMetadata`Scott McMurray-14/+10
2024-06-03rustfmt `tests/mir-opt`.Nicholas Nethercote-11/+7
2024-05-31Revert "Auto merge of #115105 - cjgillot:dest-prop-default, r=oli-obk"Camille GILLOT-329/+383