| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2020-07-22 | Optimize away BitAnd and BitOr when possible | Xavier Denis | -0/+98 | |
| 2020-07-22 | const prop into operands | Bastian Kauschke | -27/+211 | |
| 2020-07-15 | improve naming | Bastian Kauschke | -20/+20 | |
| 2020-07-15 | mir opt cross compile | Bastian Kauschke | -4/+4 | |
| 2020-07-15 | mir opt diff | Bastian Kauschke | -16/+16 | |
| 2020-06-26 | Show the values and computation that would overflow a const evaluation or ↵ | Oliver Scherer | -154/+232 | |
| propagation | ||||
| 2020-06-23 | The const propagator cannot trace references. | Oliver Scherer | -32/+4 | |
| Thus we avoid propagation of a local the moment we encounter references to it. | ||||
| 2020-06-21 | Auto merge of #71911 - wesleywiser:const_prop_small_cleanups, r=oli-obk | bors | -2/+4 | |
| [mir-opt] Small ConstProp cleanup | ||||
| 2020-06-19 | Rollup merge of #73130 - wesleywiser:remove_const_prop_for_indirects, r=oli-obk | Ralf Jung | -82/+73 | |
| Remove const prop for indirects This was only used by one mir-opt test and since it causes buggy behavior under `-Zmir-opt-level=2`, it seems like we should remove it. This was split out from #71946. Closes #72679 Closes #72372 Closes #72285 | ||||
| 2020-06-15 | [const-prop] Remove `ConstPropMode::NoPropagation` | Wesley Wiser | -2/+4 | |
| This mode is unnecessary because it's always ok to evaluate the right-hand side of assignments even if the left-hand side should not have reads propagated. | ||||
| 2020-06-13 | Prefer the associated consts for pattern matching error | Lzu Tao | -2/+2 | |
| 2020-06-09 | Stop allowing `Indirect(..)` values to be propagated | Wesley Wiser | -82/+73 | |
| Closes #72679 Closes #72372 Closes #72285 | ||||
| 2020-06-04 | Revert "Bless mir-opt tests" | Felix S. Klock II | -6/+6 | |
| This reverts commit a030c923412b0a0f7b02a585debe7bf60357370d. | ||||
| 2020-05-24 | Clear MIR local type annotations after borrowck | Jonas Schievink | -9/+9 | |
| 2020-05-17 | Auto merge of #72135 - oli-obk:const_prop_deaggregates, r=wesleywiser | bors | -0/+165 | |
| Propagate locals, even if they have unpropagatable assignments somewhere Second try for https://github.com/rust-lang/rust/pull/71946#discussion_r422967292 r? @wesleywiser cc @rust-lang/wg-mir-opt @RalfJung | ||||
| 2020-05-16 | Bless mir-opt tests to account for #72220 | Wesley Wiser | -4/+2 | |
| 2020-05-14 | [const-prop] Don't replace Rvalues that are already constants | Wesley Wiser | -4/+2 | |
| 2020-05-12 | Pointer printing: do not print 0 offset | Ralf Jung | -9/+9 | |
| 2020-05-12 | Add some more sanity tests and add a debug log message for it | Oliver Scherer | -0/+89 | |
| 2020-05-12 | Propagate locals, even if they have unpropagatable assignments somewhere. | Oliver Scherer | -3/+12 | |
| 2020-05-12 | Add a repro example for not propagating constants of partially const ↵ | Oliver Scherer | -0/+69 | |
| initialized variables | ||||
| 2020-05-11 | Auto merge of #71953 - oli-obk:const_prop_deaggregates, r=wesleywiser | bors | -0/+284 | |
| Const prop aggregates even if partially or fully modified r? @wesleywiser cc @rust-lang/wg-mir-opt I'm moderately scared of this change, but I'm confident in having reviewed all the cases. | ||||
| 2020-05-09 | Bless mir-opt tests | Matthew Jasper | -6/+6 | |
| 2020-05-07 | Renamed "undef" stuff to "uninit" | Hanif Bin Ariffin | -2/+2 | |
| 1. InvalidUndefBytes -> InvalidUninitBytes 2. ScalarMaybeUndef -> ScalarMaybeUninit 3. UndefMask -> InitMask Related issue #71193 | ||||
| 2020-05-06 | Const prop aggregates even if partially or fully modified | Oliver Scherer | -0/+284 | |
| 2020-05-02 | Added MIR constant propagation of Scalars into function call arguments | Félix Fischer | -3/+10 | |
| - Documented rationale of current solution - Polished documentation | ||||
| 2020-04-28 | Added MIR const-prop diff tests to show why some assertions now fail at ↵ | Félix Fischer | -0/+421 | |
| compile-time | ||||
| 2020-04-28 | Allow Locals to be propagated into and from, but restricted to their own block | Félix Fischer | -2/+22 | |
| 2020-04-27 | Added regression test for literal propagation and for scalar pair propagation | Félix Fischer | -0/+121 | |
| 2020-04-27 | Emit basic block ids for statements and terminators in MIR only in -Zverbose ↵ | Oliver Scherer | -486/+476 | |
| mode | ||||
| 2020-04-23 | Add leading 0x to offset in Debug fmt of Pointer | David Cook | -6/+6 | |
| 2020-04-17 | ty/print: pretty-print constant aggregates (arrays, tuples and ADTs). | Eduard-Mihai Burtescu | -2/+2 | |
| 2020-04-17 | mir: pretty-print `Rvalue::Aggregate` correctly. | Eduard-Mihai Burtescu | -2/+2 | |
| 2020-04-15 | Remove other Rvalues | Wesley Wiser | -100/+20 | |
| 2020-04-14 | update 32 bit mir-opt tests | Bastian Kauschke | -9/+46 | |
| 2020-04-13 | bless mir opt tests | Bastian Kauschke | -35/+169 | |
| 2020-04-11 | Use write!-style syntax for MIR assert terminator | robojumper | -16/+16 | |
| 2020-04-07 | Normalize away pairs of line:col numbers. | Ana-Maria Mihalache | -5/+5 | |
| 2020-04-07 | Add EMIT_MIR_FOR_EACH_BIT_WIDTH to tests that need it. | Ana-Maria Mihalache | -243/+875 | |
| 2020-04-07 | --bless more mir-opt tests. | Ana-Maria Mihalache | -689/+1567 | |
| 2020-03-26 | Enable `--bless`ing of MIR dumps | Oliver Scherer | -44/+50 | |
| 2020-03-21 | Resolve worsened debug build codegen | Wesley Wiser | -0/+64 | |
| 2020-03-11 | Print leading zeros for non pointers | Oliver Scherer | -1/+1 | |
| 2020-03-11 | Don't print leading zeros on hex dumps constants | Oliver Scherer | -1/+1 | |
| 2020-03-11 | Deduplicate and clean up pretty printing logic | Oliver Scherer | -4/+4 | |
| 2020-02-01 | Update existing tests for or-patterns | Matthew Jasper | -10/+10 | |
| 2020-01-24 | Render const pointers in MIR more compactly | Oliver Scherer | -2/+2 | |
| 2020-01-12 | Turn off const propagation of ref taking | Wesley Wiser | -2/+2 | |
| Fixes #67529 Fixes #67640 Fixes #67641 Fixes #67862 | ||||
| 2020-01-10 | Add regression tests for promotion mir expansion | Oliver Scherer | -0/+59 | |
| 2020-01-10 | Promote `Ref`s to constants instead of static | Santiago Pastorino | -4/+8 | |
