about summary refs log tree commit diff
path: root/src/test/mir-opt
AgeCommit message (Expand)AuthorLines
2019-11-01Auto merge of #65459 - ecstatic-morse:graphviz-subgraph, r=estebankbors-7/+4
2019-10-25Re-enable Emscripten's exception handling supportThomas Lively-8/+8
2019-10-20Improve SimplifyLocals pass so it can remove unused constsWesley Wiser-1/+92
2019-10-18[const-prop] Handle MIR Rvalue::BoxWesley Wiser-0/+56
2019-10-18[const-prop] Handle MIR Rvalue::DiscriminantWesley Wiser-0/+53
2019-10-18[const-prop] Handle MIR Rvalue::AggregatesWesley Wiser-0/+25
2019-10-18[const-prop] Handle MIR Rvalue::RepeatWesley Wiser-0/+37
2019-10-16Upgrade Emscripten targets to use upstream LLVM backendThomas Lively-8/+8
2019-10-16Bless graphviz test with unique identifiersDylan MacKenzie-7/+4
2019-10-11Rollup merge of #64986 - skinny121:fn-ptr-const-generics, r=varkorTyler Mandry-1/+1
2019-10-09Revert "Make `into` schedule drop for the destination"Matthew Jasper-35/+29
2019-10-09Fix reify_fn_ptr test as we now pretty print const function pointers.ben-1/+1
2019-10-04Make `into` schedule drop for the destinationMatthew Jasper-29/+35
2019-09-28Allow reading non-mutable statics in const propWesley Wiser-0/+29
2019-09-27[const-prop] Replace `Cast` handling with use of `InterpCx`Wesley Wiser-1/+1
2019-09-27[const-prop] Replace `eval_place()` with use of `InterpCx`Wesley Wiser-1/+1
2019-09-19add a mir-opt test that we don't add the spurious dropNiko Matsakis-0/+24
2019-09-19fix mir-opt testsNiko Matsakis-24/+17
2019-09-08Update tests wrt. bind_by_by_move_pattern_guards stabilization.Mazdak Farrokhzad-2/+0
2019-08-15ignore tests on wasm32-bareRalf Jung-0/+1
2019-08-15test Retag in drop shimRalf Jung-11/+26
2019-08-02const_prop no longer does ptr-to-int castsRalf Jung-1/+1
2019-07-28Use new 'p @ ..' syntax in tests.Mazdak Farrokhzad-1/+1
2019-07-20Remove tests for -Zlower-128bit-opsbjorn3-375/+0
2019-07-14Auto merge of #62331 - wesleywiser:fix_early_return_leak, r=matthewjasperbors-0/+91
2019-07-11Fix leak when early returning out of `box` syntaxWesley Wiser-0/+91
2019-07-07Only omit StorageLive/Dead for variable that are never initializedMatthew Jasper-0/+1
2019-07-06Bless mir-opt/while-storage.rs.Mazdak Farrokhzad-24/+21
2019-06-25Add StorageDead statements for `while` conditionsMatthew Jasper-25/+84
2019-06-25Use `as_temp` to evaluate statement expressionsMatthew Jasper-6/+27
2019-06-13Add a test for simple matchesMatthew Jasper-0/+39
2019-06-13Create fewer basic blocks in match MIR loweringMatthew Jasper-291/+220
2019-06-07Rollup merge of #61532 - wesleywiser:const_prop_more, r=oli-obkMazdak Farrokhzad-18/+68
2019-06-06Don't run MIR passes on constructor shimsMatthew Jasper-1/+2
2019-06-06[const-prop] Handle Rvalue::LenWesley Wiser-18/+22
2019-06-06[const-prop] Handle ProjectionElem::DerefWesley Wiser-0/+21
2019-06-06[const-prop] Fix ICE when casting function pointersWesley Wiser-0/+25
2019-06-05Test StorageDead statements explicitlyTyler Mandry-0/+106
2019-06-03Add const-eval support for indirectsChristian Poveda-2/+26
2019-05-25Fix tidyOliver Scherer-0/+1
2019-05-25Print generic args in function calls in MIROliver Scherer-5/+5
2019-05-25`u8` is printed as a number, not a characterOliver Scherer-1/+1
2019-05-25Render const byte slices in MIROliver Scherer-1/+1
2019-05-25Add test showing how byte slices are printed in MIROliver Scherer-0/+15
2019-05-23Auto merge of #60174 - matthewjasper:add-match-arm-scopes, r=pnkfelixbors-104/+372
2019-05-22Auto merge of #60840 - tmandry:preserve-scope-in-generator-mir, r=cramertjbors-0/+1
2019-05-21Add a test for match scopesMatthew Jasper-0/+245
2019-05-21Schedule storage-dead of temporaries soonerMatthew Jasper-5/+4
2019-05-21Give match arms a drop/region scopeMatthew Jasper-88/+121
2019-05-21Handle the visibility/lint scope distinction betterMatthew Jasper-14/+5