| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2023-12-02 | FileCheck while_let_loops. | Camille GILLOT | -1/+2 | |
| 2023-12-02 | FileCheck tuple_literal_propagation. | Camille GILLOT | -2/+3 | |
| 2023-12-02 | FileCheck return_place. | Camille GILLOT | -1/+2 | |
| 2023-12-02 | FileCheck switch_int. | Camille GILLOT | -1/+8 | |
| 2023-12-02 | FileCheck slice_len. | Camille GILLOT | -7/+22 | |
| 2023-12-02 | FileCheck scalar_literal_propagation. | Camille GILLOT | -1/+3 | |
| 2023-12-02 | FileCheck repeat. | Camille GILLOT | -1/+3 | |
| 2023-12-02 | FileCheck reify_fn_ptr. | Camille GILLOT | -1/+4 | |
| 2023-12-02 | FileCheck ref_deref. | Camille GILLOT | -8/+19 | |
| 2023-12-02 | FileCheck read_immutable_static. | Camille GILLOT | -1/+3 | |
| 2023-12-02 | FileCheck mutable_variable_unprop_assign. | Camille GILLOT | -2/+12 | |
| 2023-12-02 | FileCheck mutable_variable_aggregate_partial_read. | Camille GILLOT | -1/+7 | |
| 2023-12-02 | FileCheck mutable_variable_no_prop. | Camille GILLOT | -1/+8 | |
| 2023-12-02 | FileCheck mutable_variable_aggregate_mut_ref. | Camille GILLOT | -1/+8 | |
| 2023-12-02 | FileCheck mutable_variable_aggregate. | Camille GILLOT | -1/+6 | |
| 2023-12-02 | FileCheck mutable_variable. | Camille GILLOT | -1/+6 | |
| 2023-12-02 | FileCheck mult_by_zero. | Camille GILLOT | -3/+4 | |
| 2023-12-02 | FileCheck issue_67019. | Camille GILLOT | -2/+8 | |
| 2023-12-02 | FileCheck issue_66971. | Camille GILLOT | -6/+20 | |
| 2023-12-02 | FileCheck inherit_overflow. | Camille GILLOT | -3/+6 | |
| 2023-12-02 | FileCheck indirect. | Camille GILLOT | -1/+3 | |
| 2023-12-02 | FileCheck discriminant. | Camille GILLOT | -2/+13 | |
| 2023-12-02 | FileCheck and rename const_prop_fails_gracefully. | Camille GILLOT | -12/+18 | |
| 2023-12-02 | FileCheck checked_add. | Camille GILLOT | -1/+4 | |
| 2023-12-02 | FileCheck cast. | Camille GILLOT | -2/+5 | |
| 2023-12-02 | FileCheck boxes. | Camille GILLOT | -1/+5 | |
| 2023-12-02 | FileCheck boolean_identities. | Camille GILLOT | -8/+36 | |
| 2023-12-02 | FileCheck bad_op_unsafe_oob_for_slices. | Camille GILLOT | -1/+4 | |
| 2023-12-02 | FileCheck bad_op_mod_by_zero. | Camille GILLOT | -1/+8 | |
| 2023-12-02 | FileCheck bad_op_div_by_zero. | Camille GILLOT | -2/+8 | |
| 2023-12-02 | FileCheck array_index. | Camille GILLOT | -2/+4 | |
| 2023-12-02 | FileCheck aggregate. | Camille GILLOT | -174/+14 | |
| 2023-12-02 | FileCheck address_of_pair. | Camille GILLOT | -1/+14 | |
| 2023-11-29 | Rollup merge of #118426 - aDotInTheVoid:const-wat, r=compiler-errors,cjgillot | Matthias Krüger | -0/+46 | |
| ConstProp: Correctly remove const if unknown value assigned to it. Closes #118328 The problematic sequence of MIR is: ```rust _1 = const 0_usize; _1 = const _; // This is an associated constant we can't know before monomorphization. _0 = _1; ``` 1. When `ConstProp::visit_assign` happens on `_1 = const 0_usize;`, it records that `0x0usize` is the value for `_1`. 2. Next `visit_assign` happens on `_1 = const _;`. Because the rvalue `.has_param()`, it can't be const evaled. 3. Finaly, `visit_assign` happens on `_0 = _1;`. Here it would think the value of `_1` was `0x0usize` from step 1. The solution is to remove consts when checking the RValue fails, as they may have contained values that should now be invalidated, as that local was overwritten. This should probably be back-ported to beta. Stable is more iffy, as it's gone unidentified since 1.70, so I only think it's worthwhile if there's another reason for a 1.74.1 release anyway. | ||||
| 2023-11-28 | Rename and add another test | Alona Enraght-Moony | -2/+8 | |
| 2023-11-28 | ConstProp: Remove const when rvalue check fails. | Alona Enraght-Moony | -2/+1 | |
| 2023-11-28 | Precommit test for https://github.com/rust-lang/rust/issues/118328. | Alona Enraght-Moony | -0/+41 | |
| 2023-11-24 | add track_caller for arith ops | bohan | -2/+2 | |
| 2023-11-05 | Auto merge of #117537 - GKFX:offset-of-enum-feature, r=cjgillot | bors | -1/+1 | |
| Feature gate enums in offset_of As requested at https://github.com/rust-lang/rust/issues/106655#issuecomment-1790815262, put enums in offset_of behind their own feature gate. `@rustbot` label F-offset_of | ||||
| 2023-11-05 | Auto merge of #117469 - cjgillot:filecheck-mir, r=Mark-Simulacrum | bors | -0/+117 | |
| Add FileCheck annotations to a few MIR opt tests const_debuginfo did not specify which passes were running. const_prop_miscompile is renamed and moved to const_prop directory. while_storage was broken. | ||||
| 2023-11-03 | Feature gate enums in offset_of | George Bateman | -1/+1 | |
| 2023-10-31 | Update MIR tests for offset_of | George Bateman | -28/+28 | |
| 2023-10-31 | Support enum variants in offset_of! | George Bateman | -16/+213 | |
| 2023-10-31 | FileCheck const_prop_miscompile. | Camille GILLOT | -0/+117 | |
| 2023-10-24 | Use `PlaceMention` for match scrutinees. | Camille GILLOT | -0/+6 | |
| 2023-10-19 | FileCheck transmute. | Camille GILLOT | -1/+22 | |
| 2023-10-19 | Allow to run filecheck in mir-opt tests. | Camille GILLOT | -0/+39 | |
| 2023-10-16 | Normalize alloc-id in tests. | Camille GILLOT | -35/+35 | |
| 2023-10-04 | Remove mir::LocalDecl::internal. | Camille GILLOT | -0/+4 | |
| 2023-09-14 | fix clippy (and MIR printing) handling of ConstValue::Indirect slices | Ralf Jung | -5/+5 | |
