| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2020-07-17 | Rename TypeckTables to TypeckResults. | Valentin Lazureanu | -90/+90 | |
| 2020-07-15 | mir_built is a lie | Bastian Kauschke | -152/+152 | |
| 2020-05-24 | Clear MIR local type annotations after borrowck | Jonas Schievink | -1/+1 | |
| 2020-04-20 | const prop: don't special case return place | Jonas Schievink | -4/+4 | |
| 2020-03-26 | Update tests to use llvm_asm! | Amanieu d'Antras | -73/+73 | |
| 2020-03-19 | hir: replace "items" terminology with "nodes" where appropriate. | Eduard-Mihai Burtescu | -337/+337 | |
| 2020-03-17 | Update tests for erasing regions in typeck | Matthew Jasper | -4/+4 | |
| 2020-03-14 | Format function_interfaces.rs | John Kåre Alsaker | -46/+40 | |
| 2020-03-14 | Replace `Hir` with `hir_owner` in tests | John Kåre Alsaker | -451/+451 | |
| 2020-03-14 | Replace `HirBody` with `hir_owner_items` in tests | John Kåre Alsaker | -337/+337 | |
| 2019-11-27 | rustc: move debug info from LocalDecl and UpvarDecl into a dedicated ↵ | Eduard-Mihai Burtescu | -8/+8 | |
| VarDebugInfo. | ||||
| 2019-11-11 | [mir-opt] Turn on the `ConstProp` pass by default | Wesley Wiser | -7/+7 | |
| perf.rlo shows that running the `ConstProp` pass results in across-the-board wins regardless of debug or opt complilation mode. As a result, we're turning it on to get the compile time benefits. `ConstProp` doesn't currently intern the memory used by its `Machine` so we can't yet propagate allocations which is why `ConstProp::should_const_prop()` checks if the value being propagated is a scalar or not. | ||||
| 2019-11-08 | [mir-opt] Handle aggregates in SimplifyLocals pass | Wesley Wiser | -2/+2 | |
| 2019-10-20 | Improve SimplifyLocals pass so it can remove unused consts | Wesley Wiser | -8/+8 | |
| The `ConstProp` can cause many locals to be initialized to a constant value and then never read from. `ConstProp` can also evaluate ZSTs into constant values. Previously, many of these would be removed by other parts of the MIR optimization pipeline. However, evaluating ZSTs (especially `()`) into constant values defeated those parts of the optimizer and so in a2e3ed5c054b544df6ceeb9e612d39af819f4aae, I added a hack to `ConstProp` that skips evaluating ZSTs to avoid that regression. This commit changes `SimplifyLocals` so that it doesn't consider writes of const values to a local to be a use of that local. In doing so, `SimplifyLocals` is able to remove otherwise unused locals left behind by other optimization passes (`ConstProp` in particular). | ||||
| 2019-09-14 | Ban non-extern rust intrinsics | Mark Rousskov | -15/+2 | |
| Intrinsics can only be defined by the compiler. | ||||
| 2019-08-26 | Auto merge of #63580 - wesleywiser:move_promoted_out, r=oli-obk | bors | -4/+10 | |
| Move promoted MIR out of `mir::Body` r? @oli-obk | ||||
| 2019-08-25 | Revert "Allow a dirty MirBuilt for make_extern and make_method_extern" | Josh Stone | -2/+2 | |
| This reverts commit b4a6f597934f16f89e27058a32a514c9572f148f. | ||||
| 2019-08-23 | Fix incremental tests | Wesley Wiser | -4/+10 | |
| 2019-08-22 | Changed tests | Wesley Wiser | -1/+1 | |
| 2019-08-19 | Cherry-pick src/test changes with Centril's changes | sd234678 | -157/+156 | |
| 2019-07-06 | while_{let_}loops/change_{break,continue}: typeck_tables_of clean. | Mazdak Farrokhzad | -4/+4 | |
| 2019-07-06 | Adjust incremental test while_loops.rs | Mazdak Farrokhzad | -2/+2 | |
| 2019-07-03 | Migrate compile-pass annotations to build-pass | Yuki Okushi | -26/+26 | |
| 2019-05-12 | Change compare mode to use -Zborrowck=mir | Matthew Jasper | -2/+2 | |
| 2019-05-10 | Various test changes | Mazdak Farrokhzad | -2/+2 | |
| 2019-04-22 | Remove double trailing newlines | varkor | -1/+0 | |
| 2019-03-30 | Update tests | John Kåre Alsaker | -103/+103 | |
| 2019-03-20 | Add no_hash to query macro and move some queries over | John Kåre Alsaker | -155/+155 | |
| 2019-03-18 | Add load_cached query modifier and keep dep node names consistent with query ↵ | John Kåre Alsaker | -175/+175 | |
| names | ||||
| 2019-03-18 | Define queries using a proc macro | John Kåre Alsaker | -77/+77 | |
| 2019-02-08 | Allow a dirty MirBuilt for make_extern and make_method_extern | John Kåre Alsaker | -2/+2 | |
| 2019-02-08 | Update tests | John Kåre Alsaker | -153/+153 | |
| 2018-12-30 | Fix unresolved inference variable ICE. | David Wood | -1/+1 | |
| This commit moves well-formedness check for the `UserTypeAnnotation::Ty(..)` case from always running to only when the code is reachable. This solves the ICE that resulted from `src/test/ui/issue-54943-1.rs` (a minimal repro of `dropck-eyepatch` run-pass tests that failed). The main well-formedness check that was intended to be run despite unreachable code still is, that being the `UserTypeAnnotation::TypeOf(..)` case. Before this PR, the other case wasn't being checked at all. It is possible to fix this ICE while still always checking well-formedness for the `UserTypeAnnotation::Ty(..)` case but that solution will ICE in unreachable code for that case, the diff for that change [can be found here](0). [0]: https://gist.github.com/davidtwco/f9751ffd9c0508f7251c0f17adc3af53 | ||||
| 2018-12-25 | Remove licenses | Mark Rousskov | -284/+0 | |
| 2018-12-07 | Various minor/cosmetic improvements to code | Alexander Regueiro | -2/+2 | |
| 2018-10-26 | Fix tests and assertions; add some comments | Nick Cameron | -1/+1 | |
| 2018-10-22 | fix incremental test | Niko Matsakis | -1/+1 | |
| 2018-10-02 | Improve implicit self mutability suggestions. | David Wood | -1/+1 | |
| This commit adds an `ImplicitSelfKind` to the HIR and the MIR that keeps track of whether a implicit self argument is immutable by-value, mutable by-value, immutable reference or mutable reference so that the addition of the `mut` keyword can be suggested for the immutable by-value case. | ||||
| 2018-09-10 | fix incremental test | Niko Matsakis | -1/+1 | |
| We are now carrying the user-given type through MIR, so it makes sense that this would change the hash. | ||||
| 2018-06-07 | Add existential type definitons | Oliver Schneider | -1/+1 | |
| 2018-04-13 | Rename must-compile-successfully into compile-pass | Guillaume Gomez | -26/+26 | |
| 2018-03-26 | Stabilize conservative_impl_trait | Taylor Cramer | -1/+0 | |
| 2018-03-23 | Fixed issues with incremental tests. | David Wood | -1/+1 | |
| 2018-03-15 | Stabilize `inclusive_range_syntax` language feature. | kennytm | -1/+0 | |
| Stabilize the syntax `a..=b` and `..=b`. | ||||
| 2018-02-20 | rustc_mir: always run the deaggregator. | Eduard-Mihai Burtescu | -1/+1 | |
| 2018-02-07 | Fix tests for MIR loop lowering | bobtwinkles | -1/+1 | |
| Fixes the hash test to recognize that MirValidated can change when changing around labels, and add a new test that makes sure we're lowering loop statements correctly. | ||||
| 2018-01-29 | tests: replace "lvalue" terminology with "place". | Eduard-Mihai Burtescu | -3/+3 | |
| 2017-12-30 | Remove excessive trailing newlines. | kennytm | -5/+0 | |
| 2017-12-08 | incr.comp.: Hash spans unconditionally for full accuracy. | Michael Woerister | -343/+97 | |
| 2017-12-05 | Format function interface fingerprint hash tests | Jeff Crocker | -56/+70 | |
