about summary refs log tree commit diff
path: root/src/test/mir-opt
AgeCommit message (Expand)AuthorLines
2017-10-26Avoid unnecessary copies of arguments that are simple bindingsBjörn Steinbrink-75/+56
2017-10-24Introduce CrateDisambiguator newtype and fix testsIgor Matuszewski-10/+10
2017-10-16Update crate hashes in mir-opt test after changing hash algorithm.Michael Woerister-10/+10
2017-10-14Auto merge of #45162 - chrisvittal:mir-testing, r=nikomatsakisbors-73/+304
2017-10-09Update README and tests for new infrastructureChristopher Vittal-73/+304
2017-10-08Fix testsWonwoo Choi-6/+6
2017-10-05Fix infinite recursion in <DepNode as Debug>.Michael Woerister-10/+10
2017-09-13Test case illustrating some destruction code extent stuff.Felix S. Klock II-0/+161
2017-09-13Unit test for proper EndRegion emission on a cyclic reference.Felix S. Klock II-0/+132
2017-09-13Update mir-opt tests to reflect change to EndRegion emission order.Felix S. Klock II-19/+20
2017-09-08Use NodeId/HirId instead of DefId for local variables.Eduard-Mihai Burtescu-6/+6
2017-09-07Auto merge of #44249 - pnkfelix:debugflag-emit-end-regions, r=arielb1bors-10/+10
2017-09-05Update regression test to explicit enable `EndRegion` emission.Felix S. Klock II-1/+1
2017-09-05Update `mir-opt/end_region_*.rs` tests to explicit enable `EndRegion` emission.Felix S. Klock II-9/+9
2017-09-05Fix testsest31-10/+10
2017-09-01rustc: rename CodeExtent to Scope and RegionMaps to ScopeTree.Eduard-Mihai Burtescu-73/+73
2017-09-01rustc: use hir::ItemLocalId instead of ast::NodeId in CodeExtent.Eduard-Mihai Burtescu-70/+70
2017-08-25Regression test.Felix S. Klock II-0/+55
2017-08-14emit StorageLive for box temporariesAriel Ben-Yehuda-0/+88
2017-08-12Auto merge of #43772 - arielb1:nonfree-block, r=nagisabors-15/+7
2017-08-11Rollup merge of #43650 - RalfJung:mir-validate, r=arielb1Guillaume Gomez-11/+71
2017-08-10For box expressions, use NZ drop instead of a free blockAriel Ben-Yehuda-15/+7
2017-08-08explain that the example is indeed UB, but that's okayRalf Jung-0/+3
2017-08-05Auto merge of #43554 - eddyb:apfloat, r=nikomatsakisbors-2/+2
2017-08-04test MIR validation statements in closuresRalf Jung-11/+68
2017-08-04Auto merge of #43403 - RalfJung:mir-validate, r=nikomatsakisbors-9/+242
2017-08-02rustc_const_math: use apfloat::ieee::{Single,Double} in ConstFloat.Eduard-Mihai Burtescu-2/+2
2017-08-01also release-validate return value before a callRalf Jung-3/+3
2017-08-01add a closure inside an unsafe fn to the testsRalf Jung-2/+4
2017-08-01handle tuple struct ctorsRalf Jung-12/+12
2017-07-31Handle closures. Add some more tests.Ralf Jung-0/+109
2017-07-31fix AddValidation on methodsRalf Jung-18/+21
2017-07-31more readable printing of validation operandsRalf Jung-14/+14
2017-07-31optionally only emit basic validation for functions containing unsafe block /...Ralf Jung-10/+14
2017-08-01rustc_mir::transform::simplify - remove nops firstAriel Ben-Yehuda-14/+8
2017-08-01rustc_mir: don't build unused unwind cleanup blocksAriel Ben-Yehuda-121/+124
2017-07-30silence tidyRalf Jung-0/+3
2017-07-30Add tests for emitting validation statementsRalf Jung-9/+121
2017-06-12Update basic_assignment test to reflect small changes to codegen.Felix S. Klock II-8/+14
2017-06-12Leverage mir-opt to encode tests for `EndRegion`.Felix S. Klock II-1/+705
2017-05-28move "ADT master drop flag" logic to `open_drop_for_adt_contents`Ariel Ben-Yehuda-0/+186
2017-05-23Auto merge of #42023 - nikomatsakis:issue-36799-ostn15_phf, r=arielb1bors-0/+100
2017-05-17introduce local-scope to prevent storagelive/storagedead in staticsNiko Matsakis-0/+100
2017-05-15remove compile-flagsNiko Matsakis-2/+0
2017-05-15move issue-41697 to a mir-opt testNiko Matsakis-0/+50
2017-05-02simplify the MirPass traits and passes dramaticallyNiko Matsakis-8/+8
2017-04-08borrowck::mir::dataflow: ignore unwind edges of empty dropsAriel Ben-Yehuda-0/+53
2017-03-09Do not bother creating StorageLive for TyNeverSimonas Kazlauskas-1/+0
2017-03-03make operands live to the end of their containing expressionAriel Ben-Yehuda-3/+139
2017-03-02schedule drops on bindings only after initializing themAriel Ben-Yehuda-1/+1