about summary refs log tree commit diff
path: root/tests/mir-opt/instsimplify
AgeCommit message (Expand)AuthorLines
2025-09-16Add test.Camille Gillot-1/+153
2025-09-16Remove Rvalue::Len.Camille Gillot-0/+157
2025-07-28Simplify `align_of_val::<[T]>(…)` → `align_of::<T>()`Scott McMurray-3/+4
2025-07-28Add a MIR test for `align_of_val` on a sliceScott McMurray-0/+33
2025-07-23Give an AllocId to ConstValue::Slice.Camille GILLOT-0/+4
2025-05-21Add some track_caller info to precondition panicsBen Kimock-1/+1
2025-04-21mir-opt: execute MatchBranchSimplification after GVNdianqk-9/+9
2025-03-11Migrate core to Rust 2024Eric Huss-6/+6
2025-01-27Reapply "Auto merge of #133734 - scottmcm:lower-indexing-to-ptrmetadata, r=da...Michael Goulet-169/+0
2025-01-18Revert "Auto merge of #133734 - scottmcm:lower-indexing-to-ptrmetadata, r=dav...Rémy Rakic-0/+169
2025-01-11Address PR feedbackScott McMurray-4/+23
2025-01-11[mir-opt] simplify `Repeat`s that don't actually repeat the operandScott McMurray-0/+31
2025-01-11Auto merge of #135274 - saethlin:array-repeats, r=compiler-errorsbors-0/+146
2025-01-09Add an InstSimplify for repetitive array expressionsBen Kimock-0/+146
2025-01-08[mir-opt] GVN some more transmute casesScott McMurray-97/+41
2024-12-03Bounds-check with PtrMetadata instead of Len in MIRScott McMurray-169/+0
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-1/+1
2024-08-19Auto merge of #122551 - RayMuir:copy_fmt, r=saethlinbors-58/+58
2024-08-18Bless *all* the mir-opt testsScott McMurray-51/+51
2024-08-18Update mir-opt filechecksScott McMurray-7/+7
2024-08-18stabilize raw_ref_opRalf Jung-1/+0
2024-07-29Perform instsimplify before inline to eliminate some trivial callsDianQK-83/+83
2024-06-19Ban `ArrayToPointer` and `MutToConstPointer` from runtime MIRScott McMurray-2/+2
2024-06-03rustfmt `tests/mir-opt`.Nicholas Nethercote-4/+7
2024-06-03Reformat `mir!` macro invocations to use braces.Nicholas Nethercote-2/+2
2024-05-30Also InstSimplify `&raw*`Scott McMurray-0/+156
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-21InstSimplify `from_raw_parts(p, ())` → `p as _`Scott McMurray-0/+9
2024-04-20mir-opt tests: rename unit-test -> test-mir-passRalf Jung-8/+8
2024-04-18At debuginfo=0, don't inline debuginfo when inliningScott McMurray-3/+0
2024-04-03Remove MIR unsafe checkMatthew Jasper-17/+11
2024-03-27Eliminate `UbCheck` for non-standard librariesDianQK-0/+75
2024-03-10MIR printing: print the path of uneval'd const; refer to promoteds in a consi...Ralf Jung-1/+1
2024-02-25Use generic `NonZero` in tests.Markus Reiter-2/+2
2024-02-22[AUTO_GENERATED] Migrate compiletest to use `ui_test`-style `//@` directives许杰友 Jieyou Xu (Joe)-9/+9
2024-01-27Update tests.Markus Reiter-2/+2
2023-10-25Never consider raw pointer casts to be trivalNilstrieb-15/+25
2023-10-19FileCheck casts.Camille GILLOT-0/+75
2023-10-19FileCheck combine_transmutes.Camille GILLOT-0/+211
2023-10-19FileCheck duplicate_switch_targets.Camille GILLOT-0/+50
2023-10-19FileCheck intrinsic_asserts.Camille GILLOT-0/+174
2023-10-19FileCheck combine_clone_of_primitives.Camille GILLOT-0/+162
2023-10-19FileCheck bool_compare.Camille GILLOT-0/+356
2023-10-19FileCheck combine_array_len.Camille GILLOT-0/+169