about summary refs log tree commit diff
path: root/src/test/incremental/hashes/while_let_loops.rs
AgeCommit message (Collapse)AuthorLines
2023-01-11Move /src/test to /testsAlbert Larsan-247/+0
2022-12-25Remove references to removed option from tests.Camille GILLOT-3/+0
2022-12-08Bless incremental testsGary Guo-4/+4
2022-05-27Switch incremental/hashes tests to all use optimizations.Jakob Degen-1/+1
2021-09-10Duplicate tests for incremental spans mode.Camille GILLOT-24/+49
2021-08-15Introduce hir::ExprKind::Let - Take 2Caio-4/+2
2020-07-17Rename TypeckTables to TypeckResults.Valentin Lazureanu-1/+1
2020-07-15mir_built is a lieBastian Kauschke-6/+6
2020-03-19hir: replace "items" terminology with "nodes" where appropriate.Eduard-Mihai Burtescu-9/+9
2020-03-14Replace `HirBody` with `hir_owner_items` in testsJohn Kåre Alsaker-9/+9
2019-11-11[mir-opt] Turn on the `ConstProp` pass by defaultWesley Wiser-5/+5
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-10-20Improve SimplifyLocals pass so it can remove unused constsWesley Wiser-1/+1
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-08-19Cherry-pick src/test changes with Centril's changessd234678-9/+9
2019-07-06while_{let_}loops/change_{break,continue}: typeck_tables_of clean.Mazdak Farrokhzad-2/+2
2019-07-03Migrate compile-pass annotations to build-passYuki Okushi-1/+1
2019-03-30Update testsJohn Kåre Alsaker-3/+3
2019-03-20Add no_hash to query macro and move some queries overJohn Kåre Alsaker-6/+6
2019-02-08Update testsJohn Kåre Alsaker-6/+6
2018-12-25Remove licensesMark Rousskov-11/+0
2018-04-13Rename must-compile-successfully into compile-passGuillaume Gomez-1/+1
2017-12-08incr.comp.: Hash spans unconditionally for full accuracy.Michael Woerister-1/+1
2017-12-05Update 'while let loop' fingerprint hash testsJeff Crocker-54/+36
2017-11-29incr.comp.: Update test cases after metadata hashing removal.Michael Woerister-18/+0
2016-11-29Fix SVH tests some moreFlorian Diebold-9/+9
2016-11-29Fix remaining SVH testsFlorian Diebold-9/+27
2016-11-17ICH: Add regression tests for various kinds of loops.Michael Woerister-0/+256