| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2021-09-07 | Move rustc_mir::transform to rustc_mir_transform. | Camille GILLOT | -239/+0 | |
| 2021-03-05 | Extract mir_opt_level to a method and use Option to be able to know if the ↵ | Santiago Pastorino | -1/+1 | |
| value is provided or not | ||||
| 2020-11-16 | add optimization fuel checks to some mir passes | cjkenn | -3/+7 | |
| 2020-10-29 | Link to pass docs from NRVO module docs | Camelid | -0/+2 | |
| 2020-10-04 | Remember the `MirSource` for each `Body` | Dylan MacKenzie | -4/+4 | |
| 2020-10-04 | Enable RenameReturnPlace MIR optimization on mir-opt-level >= 2 | Tomasz Miąsko | -6/+0 | |
| The destination propagation as currently implemented does not supersede the NRVO, e.g., the destination propagation never applies if either local has an address taken, while NRVO might. Additionally, the issue with failing assertions had been already resolved. Continue running both optimizations at mir-opt-level >= 2. | ||||
| 2020-09-18 | Implement a destination propagation pass | Jonas Schievink | -0/+6 | |
| 2020-09-04 | NRVO: Allow occurrences of the return place in var debug info | Tomasz Miąsko | -4/+5 | |
| The non-use occurrence of the return place in var debug info does not currently inhibit NRVO optimization, but it will fail assertion in `visit_place` when optimization is performed. Relax assertion check to allow the return place in var debug info. This case might be impossible to hit in optimization pipelines as of now, but can be encountered in customized mir-opt-level=2 pipeline with copy propagation disabled. For example in: ``` pub fn b(s: String) -> String { a(s) } #[inline] pub fn a(s: String) -> String { let x = s; let y = x; y } ``` | ||||
| 2020-08-30 | mv compiler to compiler/ | mark | -0/+232 | |
