about summary refs log tree commit diff
path: root/src/test/mir-opt/issue-38669.rs
AgeCommit message (Collapse)AuthorLines
2022-11-02Ban dashes in miropt test file namesJakob Degen-12/+0
2020-07-29add crate name to mir dumpsXavier Denis-1/+1
2020-04-07--bless all mir-opt tests.Ana-Maria Mihalache-39/+1
2019-06-25Use `as_temp` to evaluate statement expressionsMatthew Jasper-0/+3
2019-06-13Create fewer basic blocks in match MIR loweringMatthew Jasper-7/+7
2019-05-10Adjust mir-opt tests for new HIR without IfMazdak Farrokhzad-3/+5
2019-03-03Check which blocks are cleanup in mir-opt testsMatthew Jasper-1/+1
2018-12-25Remove licensesMark Rousskov-10/+0
2018-09-18Update mir-opt test suiteRémy Rakic-0/+1
2018-03-08Produce instead of pointersOliver Schneider-1/+1
2018-02-07[ci skip] Generate false edges from loop_blockbobtwinkles-6/+7
As opposed to using weirdness involving pretending the body block is the loop block. This does not pass tests This commit is [ci skip] because I know it doesn't pass tests yet. Somehow this commit introduces nondeterminism into the handling of loops.
2018-02-05mir: Add and fix tests for FalseUnwindsbobtwinkles-6/+8
Fix instructions on existing mir-opt tests after introducing false edges from loops. Also, add a test for issue 46036: infinite loops.
2017-11-28tests: update to include move annotations in MIR.Eduard-Mihai Burtescu-1/+1
2017-11-09change MIR dump filenames from `nodeN` to `DefPath`Mikhail Modin-2/+2
2017-05-02simplify the MirPass traits and passes dramaticallyNiko Matsakis-2/+2
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-03-09Do not bother creating StorageLive for TyNeverSimonas Kazlauskas-1/+0
Keeps MIR cleaner, `StorageLive(_: !)` makes no sense anyway.
2017-03-03make operands live to the end of their containing expressionAriel Ben-Yehuda-0/+52
In MIR construction, operands need to live exactly until they are used, which is during the (sub)expression that made the call to `as_operand`. Before this PR, operands lived until the end of the temporary scope, which was sometimes unnecessarily longer and sometimes too short. Fixes #38669.