summary refs log tree commit diff
path: root/tests/mir-opt
AgeCommit message (Expand)AuthorLines
2024-08-12Disable jump threading of float equalityNilstrieb-0/+130
2024-07-17Rollup merge of #127337 - celinval:intrinsics-fallback, r=oli-obkMatthias Krüger-4/+4
2024-07-14Auto merge of #127087 - cjgillot:small-map, r=oli-obkbors-47/+280
2024-07-13Rollup merge of #122300 - CastilloDel:master, r=cjgillotJubilee-6/+48
2024-07-13Propagate places through assignments.Camille GILLOT-23/+64
2024-07-13Add test for copying aggregates.Camille GILLOT-0/+221
2024-07-13Create mapped places upon seeing them in the body.Camille GILLOT-56/+27
2024-07-12Rollup merge of #126502 - cuviper:dump-mir-exclude-alloc-bytes, r=estebankJubilee-390/+199
2024-07-09Return the `otherwise_block` instead of passing it as argumentNadrieril-404/+304
2024-07-09Don't try to save an extra blockNadrieril-255/+275
2024-07-09Auto merge of #127028 - Nadrieril:fix-or-pat-expansion, r=matthewjasperbors-0/+74
2024-07-07Properly handle drops for tail callsDrMeepster-0/+1266
2024-07-04Fix tests after intrinsic Abi changeCelina G. Val-4/+4
2024-07-02Rollup merge of #127136 - compiler-errors:coroutine-closure-env-shim, r=oli-obkMatthias Krüger-16/+146
2024-07-01Avoid MIR bloat in inliningScott McMurray-843/+285
2024-07-01Rollup merge of #127105 - scottmcm:issue-127089, r=cjgillotMatthias Krüger-0/+127
2024-06-30Add a GVN test for 127089 that doesn't optimize to a constantScott McMurray-0/+52
2024-06-29Fix FnMut/Fn shim for coroutine-closures that capture referencesMichael Goulet-16/+146
2024-06-29Rollup merge of #126835 - Nadrieril:reify-decision-tree, r=matthewjasperMatthias Krüger-93/+66
2024-06-28Only update `Eq` operands in GVN if you can update both sidesScott McMurray-0/+75
2024-06-27Fix expansion of or-patternsNadrieril-10/+8
2024-06-27Add testNadrieril-0/+76
2024-06-26Bless mir-opt for excluded alloc bytesJosh Stone-382/+182
2024-06-26Use `-Zdump-mir-exclude-alloc-bytes` in some mir-opt testsJosh Stone-8/+17
2024-06-26Acknowledge commentsCastilloDel-1/+6
2024-06-26Auto merge of #126844 - scottmcm:more-ptr-cast-gvn, r=saethlinbors-103/+1429
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/+122
2024-06-22GVN away PtrToPtr before comparisonsScott McMurray-52/+335
2024-06-22Add a `pointee_metadata_ty_or_projection` helperScott McMurray-40/+68
2024-06-22Add a mir test for `slice::Iter::is_empty`Scott McMurray-0/+182
2024-06-22Don't use fake wildcards when we can get the failure block directlyNadrieril-93/+66
2024-06-20[GVN] Add tests for generic pointees with PtrMetadataScott McMurray-0/+126
2024-06-20Replace `NormalizeArrayLen` with `GVN`Scott McMurray-95/+130
2024-06-20More GVN for PtrMetadataScott McMurray-62/+218
2024-06-21Auto merge of #126578 - scottmcm:inlining-bonuses-too, r=davidtwcobors-43/+283
2024-06-20Rollup merge of #126717 - nnethercote:rustfmt-use-pre-cleanups, r=jieyouxuMatthias Krüger-1/+1
2024-06-19Give inlining bonuses to things that optimize outScott McMurray-43/+283
2024-06-20Move an `EMIT_MIR` comment.Nicholas Nethercote-1/+1
2024-06-19Ban `ArrayToPointer` and `MutToConstPointer` from runtime MIRScott McMurray-18/+18
2024-06-16Expand or-candidates mixed with candidates aboveNadrieril-22/+18
2024-06-16Add testsNadrieril-0/+203
2024-06-15Redo SliceIndex implementationsScott McMurray-19/+285
2024-06-14Add ub-checks to slice_index MIR-opt testScott McMurray-1/+1
2024-06-12Rollup merge of #126294 - Zalathar:spans-refiner, r=oli-obkGuillaume Gomez-1/+1
2024-06-12coverage: Replace the old span refiner with a single functionZalathar-1/+1
2024-06-11Remove DebugWithInfcxMichael Goulet-12/+18
2024-06-10Delete `ConstDebugInfo` passScott McMurray-20/+36
2024-06-10Add `SingleUseConsts` mir-opt passScott McMurray-343/+805