about summary refs log tree commit diff
path: root/tests/mir-opt
AgeCommit message (Expand)AuthorLines
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-20Add a non-shallow fake borrowNadrieril-23/+23
2024-04-20Rework fake borrow calculationNadrieril-62/+62
2024-04-20mir-opt tests: rename unit-test -> test-mir-passRalf Jung-153/+154
2024-04-20Auto merge of #124156 - DianQK:disable-match_branches, r=RalfJungbors-201/+156
2024-04-20Auto merge of #124114 - scottmcm:better-checked, r=workingjubileebors-81/+27
2024-04-20Disable SimplifyToExp in MatchBranchSimplificationDianQK-201/+156
2024-04-19Correctly change type when adding adjustments on top of `NeverToAny`Maybe Waffle-1/+1
2024-04-19Add a test for `a == b` where `a: !, b: !`Maybe Waffle-0/+66
2024-04-18Make `checked` ops emit *unchecked* LLVM operations where feasibleScott McMurray-81/+27
2024-04-18Ensure `[rust] debuginfo-level-std` doesn't change core's MIRScott McMurray-156/+16
2024-04-18Update `checked_ops` so 32- and 64-bit gets the same checksScott McMurray-19/+174
2024-04-18At debuginfo=0, don't inline debuginfo when inliningScott McMurray-1175/+767
2024-04-09Auto merge of #122387 - DianQK:re-enable-early-otherwise-branch, r=cjgillotbors-159/+537
2024-04-08Auto merge of #122077 - oli-obk:eager_opaque_checks4, r=lcnrbors-44/+44
2024-04-08bless mir-opt testsOli Scherer-44/+44
2024-04-08Don't change the otherwise of the switchDianQK-9/+18
2024-04-08Transforms a match containing negative numbers into an assignment statement a...DianQK-48/+62
2024-04-08Transforms match into an assignment statementDianQK-108/+139
2024-04-08Update matches_reduce_branches.rsDianQK-4/+567
2024-04-07Add FileCheck for `early_otherwise_branch*.rs`DianQK-5/+73
2024-04-07Resolve unsound hoisting of discriminant in `EarlyOtherwiseBranch`DianQK-156/+457
2024-04-04Rollup merge of #123324 - Nadrieril:false-edges2, r=matthewjasperMatthias Krüger-16/+16
2024-04-03More precise false edgesNadrieril-16/+16
2024-04-03rename `expose_addr` to `expose_provenance`joboet-17/+17
2024-04-03Remove MIR unsafe checkMatthew Jasper-1146/+622
2024-04-03Auto merge of #122225 - DianQK:nits-120268, r=cjgillotbors-128/+157
2024-04-02Rollup merge of #122935 - RalfJung:with-exposed-provenance, r=AmanieuJacob Pratt-3/+3
2024-04-02Auto merge of #123385 - matthiaskrgr:rollup-v69vjbn, r=matthiaskrgrbors-471/+240
2024-04-02Rollup merge of #123226 - scottmcm:u32-shifts, r=WaffleLapkinMatthias Krüger-471/+240
2024-04-02Auto merge of #118310 - scottmcm:three-way-compare, r=davidtwcobors-0/+300
2024-04-02Update tests/mir-opt/inline/unchecked_shifts.rsscottmcm-1/+1
2024-03-30Add FileCheck directives to the new tests.Nadrieril-51/+42
2024-03-30Sort `Eq` candidates in the failure case tooNadrieril-45/+36
2024-03-30Add testNadrieril-0/+139
2024-03-30Regroup mir-opt tests of match buildingNadrieril-6/+7
2024-03-30De-LLVM the unchecked shifts [MCP#693]Scott McMurray-471/+240