| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2020-04-24 | Don't run various MIR optimizations at mir-opt-level=0 | Wesley Wiser | -48/+79 | |
| Add missing checks for mir-opt-level to non-essential MIR passes. | ||||
| 2020-04-24 | Auto merge of #70820 - spastorino:replace-fragile-erroneous-const-sys, r=oli-obk | bors | -1/+12 | |
| Replace fragile erroneous const sys Closes #67191 r? @oli-obk | ||||
| 2020-04-23 | Modify `as_local_hir_id` to accept a `LocalDefId` instead of a `DefId` | marmeladema | -1/+1 | |
| 2020-04-23 | librustc_middle: return LocalDefId instead of DefId in local_def_id | marmeladema | -1/+1 | |
| 2020-04-23 | Import RequiredConstsVisitor | Santiago Pastorino | -2/+2 | |
| 2020-04-23 | Rename uneval_consts to required_consts | Santiago Pastorino | -6/+6 | |
| 2020-04-23 | Add MirPass to collect Unevaluated consts in MIR body | Santiago Pastorino | -1/+12 | |
| 2020-04-23 | Rename `Item` to `ConstCx`. | Oliver Scherer | -3/+3 | |
| This renaming was already done in some modules via import renaming. It's strictly used as a context, and it contains a `TyCtxt`. | ||||
| 2020-04-22 | Use `Body` everywhere | Dylan MacKenzie | -18/+10 | |
| 2020-04-13 | Don't always run `add_call_guards` pass | Jonas Schievink | -4/+2 | |
| 2020-04-10 | librustc_middle: return LocalDefId instead of DefId in body_owner_def_id | marmeladema | -2/+2 | |
| 2020-03-30 | rustc -> rustc_middle part 3 (rustfmt) | Mazdak Farrokhzad | -4/+4 | |
| 2020-03-30 | rustc -> rustc_middle part 2 | Mazdak Farrokhzad | -4/+4 | |
| 2020-03-19 | Use erased regions in MIR | Matthew Jasper | -3/+5 | |
| 2020-03-16 | remove unnecessary hir::map imports | Mazdak Farrokhzad | -2/+1 | |
| 2020-03-14 | Index HIR after creating TyCtxt | John Kåre Alsaker | -1/+1 | |
| 2020-03-12 | remove lifetimes that can be elided (clippy::needless_lifetimes) | Matthias Krüger | -1/+1 | |
| 2020-02-29 | Rename `syntax` to `rustc_ast` in source code | Vadim Petrochenkov | -1/+1 | |
| 2020-02-28 | Rollup merge of #69481 - matthiaskrgr:single_char, r=ecstatic-morse | Mazdak Farrokhzad | -1/+1 | |
| use char instead of &str for single char patterns | ||||
| 2020-02-27 | don't use .into() to convert types into identical types. | Matthias Krüger | -1/+1 | |
| example: let s: String = format!("hello").into(); | ||||
| 2020-02-27 | use char instead of &str for single char patterns | Matthias Krüger | -1/+1 | |
| 2020-01-14 | Add unreachable propagation mir optimization pass | Konstantinos Triantafyllou | -0/+2 | |
| 2020-01-12 | Split `rustc_mir::{build, hair, lints}` into their own crate | Matthew Jasper | -7/+4 | |
| 2020-01-08 | normalize rustc::hir::intravisit imports | Mazdak Farrokhzad | -1/+1 | |
| 2020-01-08 | intravisit: abstract over HIR Map | Mazdak Farrokhzad | -1/+3 | |
| 2020-01-05 | Remove rustc_hir reexports in rustc::hir. | Mazdak Farrokhzad | -2/+2 | |
| 2020-01-04 | DefId{Map,Set} -> rustc::hir::def_id | Mazdak Farrokhzad | -2/+1 | |
| 2020-01-01 | Rename `syntax_pos` to `rustc_span` in source code | Vadim Petrochenkov | -1/+1 | |
| 2019-12-27 | Fallout in other crates. | Camille GILLOT | -1/+1 | |
| 2019-12-22 | Format the world | Mark Rousskov | -110/+119 | |
| 2019-12-21 | Use Arena inside hir::EnumDef. | Camille GILLOT | -1/+1 | |
| 2019-12-09 | Remove `uniform_array_move_out` passes | Matthew Jasper | -3/+0 | |
| These passes were buggy, MIR building is now responsible for canonicalizing `ConstantIndex` projections and `MoveData` is responsible for splitting `Subslice` projections. | ||||
| 2019-12-05 | rustc: Apply clearer naming to BodyAndCache, fix Deref impl, remove unneeded ↵ | Paul Daniel Faria | -9/+9 | |
| Index impl, remove body fn rustc_codegen_ssa: Fix BodyAndCache reborrow to Body and change instances of body() call to derefence rustc_mir: Fix BodyAndCache reborrow to Body and change intances of body() call to derefence | ||||
| 2019-12-02 | Fix rebasing errors, convert some BodyCache::body() calls to reborrows | Paul Daniel Faria | -0/+1 | |
| 2019-12-02 | Fix type errors created during rebasing | Paul Daniel Faria | -1/+1 | |
| 2019-12-02 | Remove HasLocalDecls impl from BodyCache's, properly reborrow to Body, ↵ | Paul Daniel Faria | -15/+15 | |
| rename all body_cache back to body | ||||
| 2019-12-02 | Fix typo | Paul Daniel Faria | -1/+1 | |
| 2019-12-02 | Fix tidy errors | Paul Daniel Faria | -1/+1 | |
| 2019-12-02 | Fix remaining compilation issues | Paul Daniel Faria | -0/+2 | |
| 2019-12-02 | Simplify BodyCache impl and fix all remaining type errors in librustc_mir ↵ | Paul Daniel Faria | -21/+21 | |
| (lifetime errors still exist) | ||||
| 2019-12-02 | Simplify Cache wrapper to single type, impl Deref on it, fix all compilation ↵ | Paul Daniel Faria | -3/+0 | |
| errors in librustc_codegen_ssa | ||||
| 2019-12-02 | Move predecessors cache back to its own type | Paul Daniel Faria | -1/+2 | |
| This ensures that the cache can be properly ignored during encoding and decoding. Fix panics that arose due to lack of encoding | ||||
| 2019-12-02 | Address nits and remove unneeded pass | Paul Daniel Faria | -2/+0 | |
| 2019-12-02 | Ensure predecessors are recomputed at critical points, fixes panics | Paul Daniel Faria | -1/+4 | |
| 2019-12-02 | Add pass to ensure predecessors cache is generated after optimization | Paul Daniel Faria | -0/+2 | |
| 2019-11-21 | Introduce MIR optimizations for simplifying `x?` on `Result`s. | Mazdak Farrokhzad | -0/+4 | |
| This optimization depends on inlining for the identity conversions introduced by the lowering of the `?`. To take advantage of `SimplifyArmIdentity`, `-Z mir-opt-level=2` is required because that triggers the inlining MIR optimization. | ||||
| 2019-11-15 | Fix nits from review | Dylan MacKenzie | -2/+2 | |
| 2019-11-15 | Use a bespoke type for the result of `mir_const_qualif` | Dylan MacKenzie | -4/+4 | |
| 2019-11-15 | Remove `qualify_consts` completely | Dylan MacKenzie | -8/+3 | |
| 2019-11-15 | Use new const-checker for `mir_const_qualif` | Dylan MacKenzie | -2/+37 | |
| Now `mir_const_qualif` must be called for `static`s and `const fn`s as well as `const`s since it is responsible for const-checking. We return the qualifs in the return place for everything, even though they will only be used for `const`s. | ||||
