| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2025-09-16 | Add test. | Camille Gillot | -0/+571 | |
| 2025-04-08 | Do not optimize out SwitchInt before borrowck, or if Zmir-preserve-ub | Michael Goulet | -15/+19 | |
| 2024-08-18 | Bless *all* the mir-opt tests | Scott McMurray | -39/+39 | |
| 2024-08-18 | Update mir-opt filechecks | Scott McMurray | -1/+1 | |
| 2024-08-10 | Update tests | Nadrieril | -31/+11 | |
| 2024-07-29 | Set up false edges in `lower_match_tree` | Nadrieril | -123/+139 | |
| 2024-07-09 | Return the `otherwise_block` instead of passing it as argument | Nadrieril | -137/+101 | |
| This saves a few blocks and matches the common `unpack!` paradigm. | ||||
| 2024-07-09 | Don't try to save an extra block | Nadrieril | -94/+106 | |
| This is preparation for the next commit. | ||||
| 2024-06-27 | Fix expansion of or-patterns | Nadrieril | -10/+8 | |
| 2024-06-27 | Add test | Nadrieril | -0/+76 | |
| 2024-06-10 | Add `SingleUseConsts` mir-opt pass | Scott McMurray | -3/+3 | |
| 2024-06-03 | rustfmt `tests/mir-opt`. | Nicholas Nethercote | -1/+0 | |
| The only non-obvious changes: - `building/storage_live_dead_in_statics.rs` has a `#[rustfmt::skip]` attribute to avoid reformating a table of data. - Two `.mir` files have slight changes involving line numbers. - In `unusual_item_types.rs` an `EMIT_MIR` annotation is moved to outside a function, which is the usual spot, because `tidy` complains if such a comment is indented. The commit also tweaks the comments in `rustfmt.toml`. | ||||
| 2024-05-07 | Auto merge of #123332 - Nadrieril:testkind-never, r=matthewjasper | bors | -0/+155 | |
| never patterns: lower never patterns to `Unreachable` in MIR This lowers a `!` pattern to "goto Unreachable". Ideally I'd like to read from the place to make it clear that the UB is coming from an invalid value, but that's tricky so I'm leaving it for later. r? `@compiler-errors` how do you feel about a lil bit of MIR lowering | ||||
| 2024-05-04 | Lower never patterns to Unreachable in mir | Nadrieril | -17/+101 | |
| 2024-05-04 | Add tests | Nadrieril | -0/+71 | |
| 2024-05-02 | Stabilize exclusive_range | Ross Smyth | -1/+0 | |
| 2024-04-20 | Add a non-shallow fake borrow | Nadrieril | -7/+7 | |
| 2024-04-20 | Rework fake borrow calculation | Nadrieril | -46/+46 | |
| 2024-04-03 | More precise false edges | Nadrieril | -8/+8 | |
| 2024-03-30 | Add FileCheck directives to the new tests. | Nadrieril | -51/+42 | |
| 2024-03-30 | Sort `Eq` candidates in the failure case too | Nadrieril | -45/+36 | |
| 2024-03-30 | Add test | Nadrieril | -0/+139 | |
| 2024-03-30 | Regroup mir-opt tests of match building | Nadrieril | -0/+837 | |
