about summary refs log tree commit diff
path: root/src/test/mir-opt/simplify_if.rs
AgeCommit message (Collapse)AuthorLines
2023-01-11Move /src/test to /testsAlbert Larsan-9/+0
2021-11-30Update MIR opt tests with new nameDylan MacKenzie-1/+1
2020-07-29add crate name to mir dumpsXavier Denis-1/+1
2020-04-07--bless all mir-opt tests.Ana-Maria Mihalache-15/+5
2019-06-13Create fewer basic blocks in match MIR loweringMatthew Jasper-2/+2
2019-05-19[const-prop] Support propagating into SwitchInt's `discr` OperandWesley Wiser-4/+4
2019-05-10Adjust mir-opt tests for new HIR without IfMazdak Farrokhzad-5/+7
2018-12-25Remove licensesMark Rousskov-10/+0
2018-03-08Produce instead of pointersOliver Schneider-1/+1
2017-12-03funnel all unwind paths through a single Resume blockAriel Ben-Yehuda-2/+2
This simplifies analysis and borrow-checking because liveness at the resume point can always be simply propagated. Later on, the "dead" Resumes are removed.
2017-11-09change MIR dump filenames from `nodeN` to `DefPath`Mikhail Modin-4/+4
2017-05-02simplify the MirPass traits and passes dramaticallyNiko Matsakis-4/+4
Overall goal: reduce the amount of context a mir pass needs so that it resembles a query. - The hooks are no longer "threaded down" to the pass, but rather run automatically from the top-level (we also thread down the current pass number, so that the files are sorted better). - The hook now receives a *single* callback, rather than a callback per-MIR. - The traits are no longer lifetime parameters, which moved to the methods -- given that we required `for<'tcx>` objecs, there wasn't much point to that. - Several passes now store a `String` instead of a `&'l str` (again, no point).
2017-02-25rustc_const_eval: always demand typeck_tables for evaluating constants.Eduard-Mihai Burtescu-1/+1
2017-02-10Rebase fixupsSimonas Kazlauskas-1/+1
2016-09-29Remove MIR dump comments from mir-opt testsJonas Schievink-3/+3
They're ignored by the test runner, so let's not suggest that they matter
2016-07-20add mir optimization tests, dump-mir-dir optionScott A Carr-0/+27