| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2023-08-23 | Disable MIR SROA optimization by default | Wesley Wiser | -147/+215 | |
| Turn off the MIR SROA optimization by default to prevent incorrect debuginfo generation and rustc ICEs caused by invalid LLVM IR being created. Related to #115113 | ||||
| 2023-07-07 | Rename `adjustment::PointerCast` and variants using it to `PointerCoercion` | Nilstrieb | -8/+8 | |
| It makes it sound like the `ExprKind` and `Rvalue` are supposed to represent all pointer related casts, when in reality their just used to share a some enum variants. Make it clear there these are only coercion to make it clear why only some pointer related "casts" are in the enum. | ||||
| 2023-06-23 | Bless tests | Gary Guo | -35/+35 | |
| 2023-06-21 | Disable two mir opts that are known to be unsound | Oli Scherer | -169/+154 | |
| 2023-06-19 | Promote unchecked_add/sub/mul/shl/shr to mir::BinOp | Scott McMurray | -91/+70 | |
| 2023-06-16 | [libs] Simplify `unchecked_{shl,shr}` | Scott McMurray | -79/+20 | |
| There's no need for the `const_eval_select` dance here. And while I originally wrote the `.try_into().unwrap_unchecked()` implementation here, it's kinda a mess in MIR -- this new one is substantially simpler, as shown by the old one being above the inlining threshold but the new one being below it. | ||||
| 2023-06-15 | Remove comments from mir-opt MIR dumps | Ben Kimock | -3176/+3038 | |
| 2023-06-12 | bless mir-opt | Pietro Albini | -31/+1742 | |
| To reproduce the changes in this commit locally: - Run `./x test tidy` and remove all the output files not associated with a test file anymore, as reported by tidy. - Run `./x test tests/mir-opt --bless` to generate the new outputs. | ||||
| 2023-06-12 | properly mark tests that require panic=abort | Pietro Albini | -1/+4 | |
| 2023-06-03 | Only check inlining counter after recusing. | Camille GILLOT | -222/+246 | |
| 2023-06-01 | Rebase fallout. | Camille GILLOT | -272/+334 | |
| 2023-06-01 | Remove brittle test. | Camille GILLOT | -46/+0 | |
| 2023-06-01 | Restrict test to x64. | Camille GILLOT | -3/+4 | |
| 2023-06-01 | Annotate needs-unwind. | Camille GILLOT | -17/+19 | |
| 2023-06-01 | Remove duplication. | Camille GILLOT | -1406/+541 | |
| 2023-06-01 | Remove spurious comments. | Camille GILLOT | -3/+0 | |
| 2023-06-01 | Add chained comparison e2e test. | Camille GILLOT | -0/+400 | |
| 2023-06-01 | Add e2e mir test for checked arithmetic. | Camille GILLOT | -0/+285 | |
| 2023-06-01 | Add loop tests. | Camille GILLOT | -0/+1585 | |
| 2023-06-01 | Make slice_filter a pre-codegen test. | Camille GILLOT | -0/+341 | |
| 2023-05-31 | Enable ScalarReplacementOfAggregates | Ben Kimock | -117/+78 | |
| 2023-05-29 | Make `TrustedStep` require `Copy` | Scott McMurray | -32/+128 | |
| All the implementations of the trait already are `Copy`, and this seems to be enough to simplify the implementations enough to make the MIR inliner willing to inline basics like `Range::next`. | ||||
| 2023-05-21 | Normalize block and local orders in mir-opt tests | Scott McMurray | -458/+458 | |
| Since this only affects `PreCodegen MIR, and it would be nice for that to be resilient to permutations of things that don't affect the actual semantic behaviours. | ||||
| 2023-05-14 | Merge return place with other locals in CopyProp. | Camille GILLOT | -98/+86 | |
| 2023-05-12 | Remove useless `assume`s from `slice::iter(_mut)` | Scott McMurray | -59/+265 | |
| 2023-05-08 | Disable nrvo mir opt | Jakob Degen | -87/+99 | |
| 2023-04-30 | Codegen fewer instructions in `mem::replace` | Scott McMurray | -22/+10 | |
| 2023-04-30 | MIR pre-codegen test for `mem::replace` | Scott McMurray | -0/+98 | |
| 2023-04-27 | Also use `mir::Offset` for pointer `add` | Scott McMurray | -64/+28 | |
| 2023-04-26 | Add some MIR pre-codegen tests for slice indexing | Scott McMurray | -0/+348 | |
| 2023-04-23 | Add mir-opt tests to track MIR quality. | Camille GILLOT | -0/+1254 | |
