about summary refs log tree commit diff
path: root/tests/mir-opt
AgeCommit message (Expand)AuthorLines
2023-06-28Auto merge of #112307 - lcnr:operand-ref, r=compiler-errorsbors-1/+1
2023-06-23Bless testsGary Guo-341/+341
2023-06-21Auto merge of #111684 - ChayimFriedman2:unused-offset-of, r=WaffleLapkinbors-84/+281
2023-06-21Warn on unused offset_of!() resultChayim Refael Friedman-84/+281
2023-06-21Disable two mir opts that are known to be unsoundOli Scherer-169/+158
2023-06-19Promote unchecked_add/sub/mul/shl/shr to mir::BinOpScott McMurray-167/+327
2023-06-19fix types in shim buildinglcnr-1/+1
2023-06-19Auto merge of #112724 - scottmcm:simpler-unchecked-shifts, r=Mark-Simulacrumbors-87/+440
2023-06-17Auto merge of #100036 - DrMeepster:box_free_free_box, r=oli-obkbors-12/+17
2023-06-17Add `<meta charset="utf-8">` to `-Zdump-mir-spanview` outputZalathar-3/+6
2023-06-16[libs] Simplify `unchecked_{shl,shr}`Scott McMurray-87/+440
2023-06-16remove box_free and replace with drop implDrMeepster-12/+17
2023-06-16Ignore the always part of #[inline(always)] in MIR inliningBen Kimock-929/+343
2023-06-15Remove comments from mir-opt MIR dumpsBen Kimock-24071/+21785
2023-06-12bless mir-optPietro Albini-38/+11189
2023-06-12properly mark tests that require panic=abortPietro Albini-104/+108
2023-06-04Auto merge of #112240 - cjgillot:recurse-inline, r=scottmcmbors-265/+386
2023-06-03Only check inlining counter after recusing.Camille GILLOT-265/+386
2023-06-02Rollup merge of #112168 - scottmcm:lower-div-rem-unchecked-to-mir, r=oli-obkMichael Goulet-29/+95
2023-06-01Rebase fallout.Camille GILLOT-272/+334
2023-06-01Remove brittle test.Camille GILLOT-46/+0
2023-06-01Restrict test to x64.Camille GILLOT-3/+4
2023-06-01Annotate needs-unwind.Camille GILLOT-17/+19
2023-06-01Remove duplication.Camille GILLOT-1406/+541
2023-06-01Remove spurious comments.Camille GILLOT-3/+0
2023-06-01Add chained comparison e2e test.Camille GILLOT-0/+400
2023-06-01Add e2e mir test for checked arithmetic.Camille GILLOT-0/+285
2023-06-01Add loop tests.Camille GILLOT-0/+1585
2023-06-01Make slice_filter a pre-codegen test.Camille GILLOT-1082/+341
2023-06-01Auto merge of #112040 - cjgillot:separate-const-switch, r=oli-obkbors-67/+32
2023-06-01Auto merge of #112002 - saethlin:enable-sroa, r=oli-obk,scottmcmbors-333/+262
2023-06-01Lower unchecked_{div, rem} to BinOp::{Div, Rem}Scott McMurray-29/+95
2023-05-31Enable ScalarReplacementOfAggregatesBen Kimock-333/+262
2023-05-31Only rewrite valtree-constants to patterns and keep other constants opaqueOli Scherer-1/+1
2023-05-29Make `TrustedStep` require `Copy`Scott McMurray-32/+128
2023-05-29Enable SeparateConstSwitch by default.Camille GILLOT-67/+32
2023-05-28Auto merge of #111813 - scottmcm:pretty-mir, r=cjgillotbors-750/+750
2023-05-27Try enabling MatchBranchSimplificationBen Kimock-5/+42
2023-05-23Rollup merge of #111579 - scottmcm:enum-as-signed, r=oli-obkDylan DPC-15/+145
2023-05-23Rollup merge of #111501 - WaffleLapkin:drivebycleanupuwu, r=oli-obkDylan DPC-129/+72
2023-05-21Normalize block and local orders in mir-opt testsScott McMurray-750/+750
2023-05-20Don't inline functions with unsized argsJakob Degen-0/+65
2023-05-19Drive-by-cleanup: Don't emit `thir::ExprKind::NeverToAny` for `! -> !`Maybe Waffle-129/+72
2023-05-18Also assume wrap-around discriminants in `as` MIR buildingScott McMurray-15/+145
2023-05-17Auto merge of #111568 - scottmcm:undo-opt, r=WaffleLapkinbors-139/+49
2023-05-17Auto merge of #111630 - BoxyUwU:ty_const_debug_formatting, r=compiler-errorsbors-4/+4
2023-05-16Auto merge of #111556 - cjgillot:copy-prop-nrvo, r=oli-obkbors-189/+561
2023-05-16blessBoxy-4/+4
2023-05-15Address FIXMEAndy Wang-11/+6
2023-05-15Add CopyForDeref to custom MIRAndy Wang-0/+28