| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2025-07-25 | Update mir-opt expected output for matches! macro | Jonas Platte | -8/+16 | |
| 2025-04-21 | mir-opt: execute MatchBranchSimplification after GVN | dianqk | -17/+7 | |
| This can provide more opportunities for MatchBranchSimplification. | ||||
| 2025-03-03 | Inline FnOnce once again | Michael Goulet | -0/+138 | |
| 2025-01-04 | Add FileCheck annotations to mir-opt/issues | Shunpoco | -1/+5 | |
| From #123067, this test should ensure that there is no duplicated basic block against or-patterns. Signed-off-by: Shunpoco <tkngsnsk313320@gmail.com> | ||||
| 2024-12-27 | MatchBranchSimplification: Consider empty-unreachable otherwise branch | clubby789 | -20/+18 | |
| 2024-10-19 | Emit error on `skip-filecheck` test containing filecheck directives | clubby789 | -1/+0 | |
| 2024-08-18 | Bless *all* the mir-opt tests | Scott McMurray | -8/+8 | |
| 2024-06-03 | rustfmt `tests/mir-opt`. | Nicholas Nethercote | -5/+1 | |
| 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-04-18 | At debuginfo=0, don't inline debuginfo when inlining | Scott McMurray | -50/+30 | |
| 2024-04-03 | Remove MIR unsafe check | Matthew Jasper | -5/+1 | |
| This also remove safety information from MIR. | ||||
| 2024-03-25 | Consistently merge simplifiable or-patterns | Nadrieril | -18/+8 | |
| 2024-03-07 | Get all variants to eliminate the default branching if we cannot get the ↵ | DianQK | -20/+24 | |
| layout of type | ||||
| 2024-02-22 | [AUTO_GENERATED] Migrate compiletest to use `ui_test`-style `//@` directives | 许杰友 Jieyou Xu (Joe) | -2/+2 | |
| 2024-01-14 | Split out `option::unwrap_failed` like we have `result::unwrap_failed` | Scott McMurray | -2/+2 | |
| ...and like `option::expect_failed` | ||||
| 2023-10-19 | Allow to run filecheck in mir-opt tests. | Camille GILLOT | -0/+2 | |
| 2023-10-06 | Preserve DebugInfo in DeadStoreElimination. | Camille GILLOT | -44/+46 | |
| 2023-10-04 | Remove mir::LocalDecl::internal. | Camille GILLOT | -0/+10 | |
| 2023-08-17 | Revert "Implement references VarDebugInfo." | Camille GILLOT | -2/+8 | |
| This reverts commit 2ec007191348ef7cc13eb55e44e007b02cf75cf3. | ||||
| 2023-07-19 | Turn copy into moves during DSE. | Camille GILLOT | -2/+2 | |
| 2023-07-10 | Enable by default. | Camille GILLOT | -38/+30 | |
| 2023-06-23 | Bless tests | Gary Guo | -3/+3 | |
| 2023-06-15 | Remove comments from mir-opt MIR dumps | Ben Kimock | -132/+108 | |
| 2023-06-12 | bless mir-opt | Pietro Albini | -0/+84 | |
| 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/+1 | |
| 2023-05-21 | Normalize block and local orders in mir-opt tests | Scott McMurray | -31/+31 | |
| 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-04-22 | Turn on ConstDebugInfo pass. | Wesley Wiser | -19/+16 | |
| 2023-04-06 | Ignore many tests on wasm32 | Gary Guo | -3/+4 | |
| 2023-03-22 | Add `CastKind::Transmute` to MIR | Scott McMurray | -30/+18 | |
| Updates `interpret`, `codegen_ssa`, and `codegen_cranelift` to consume the new cast instead of the intrinsic. Includes `CastTransmute` for custom MIR building, to be able to test the extra UB. | ||||
| 2023-03-13 | Generalize operation. | Camille GILLOT | -1/+0 | |
| 2023-02-12 | Enable CopyProp by default, tune the impl a bit | Ben Kimock | -9/+5 | |
| 2023-02-02 | Stop deaggregating enums in MIR. | Camille GILLOT | -5/+2 | |
| 2023-01-12 | Fix mir-opt tests for big-endian platforms | Ulrich Weigand | -2/+3 | |
| The test cases src/test/mir-opt/building/custom/consts.rs and src/test/mir-opt/const_prop/mutable_variable_no_prop.rs are currently failing on big-endian platforms as the binary encoding of some constants is hard-coded in the MIR test files. Fix this by choosing constant values that have the same encoding on big- and little-endian platforms. The test case src/test/mir-opt/issues/issue_75439.rs is failing as well, but since the purpose of the test is to validate handling of big-endian integer encodings on a little-endian platform, it does not make much sense to run it on big-endian platforms in the first place - we can just ignore it there. Fixed part of https://github.com/rust-lang/rust/issues/105383. | ||||
| 2023-01-11 | Move /src/test to /tests | Albert Larsan | -0/+218 | |
