about summary refs log tree commit diff
path: root/src/test/mir-opt
AgeCommit message (Expand)AuthorLines
2019-12-18Make slice drop shims use AddressOfMatthew Jasper-9/+9
2019-12-18Start generating AddressOf rvalues in MIRMatthew Jasper-27/+20
2019-12-14add `#![feature(never_type)]` to tests as neededNiko Matsakis-0/+1
2019-12-14Revert "Remove `#![feature(never_type)]` from tests."Niko Matsakis-0/+2
2019-12-13Const prop should finish propagation into user defined variablesWesley Wiser-4/+153
2019-12-11Auto merge of #66650 - matthewjasper:nonuniform-array-move, r=pnkfelixbors-57/+5
2019-12-11Rollup merge of #67164 - matthewjasper:never-remove-const, r=oli-obkMazdak Farrokhzad-0/+28
2019-12-09Remove `uniform_array_move_out` passesMatthew Jasper-57/+5
2019-12-09Ensure that unevaluated constants of type `!` are present in the MIRMatthew Jasper-0/+28
2019-12-06const-prop: Restrict scalar pair propagationÖmer Sinan Ağacan-0/+72
2019-12-02Rollup merge of #66850 - eddyb:span-free-formats, r=oli-obkMazdak Farrokhzad-10/+10
2019-11-29SimplifyArmIdentity only for locals with the same typeTomasz Miąsko-0/+75
2019-11-28rustc: hide HirId's fmt::Debug output from -Z span_free_formats.Eduard-Mihai Burtescu-10/+10
2019-11-27rustc: move debug info from LocalDecl and UpvarDecl into a dedicated VarDebug...Eduard-Mihai Burtescu-37/+185
2019-11-27Auto merge of #66677 - wesleywiser:fix_const_prop_alloc_id_ice, r=oli-obkbors-7/+7
2019-11-23[const prop] Fix "alloc id without corresponding allocation" ICEWesley Wiser-7/+7
2019-11-22Rollup merge of #66587 - matthewjasper:handle-static-as-const, r=oli-obkMazdak Farrokhzad-5/+7
2019-11-21Bless remaining test outputMatthew Jasper-5/+7
2019-11-21Introduce MIR optimizations for simplifying `x?` on `Result`s.Mazdak Farrokhzad-0/+193
2019-11-21Remove `#![feature(never_type)]` from tests.Mazdak Farrokhzad-2/+0
2019-11-14Auto merge of #66233 - cjgillot:constkind, r=oli-obkbors-1/+1
2019-11-12Bless mir-dump test.Camille GILLOT-1/+1
2019-11-11Fix soundness issue with index bounds checksMatthew Jasper-11/+11
2019-11-10Auto merge of #66259 - JohnTitor:rollup-x9nk1e2, r=JohnTitorbors-0/+54
2019-11-10Rollup merge of #66216 - wesleywiser:const_prop_codegen_improvements, r=oli-obkYuki Okushi-0/+54
2019-11-09Auto merge of #65694 - wesleywiser:uninhabited_enum_variants_pass, r=oli-obkbors-0/+224
2019-11-08[mir-opt] Handle aggregates in SimplifyLocals passWesley Wiser-3/+0
2019-11-08[mir-opt] Handle const-prop for the return placeWesley Wiser-0/+57
2019-11-08Use new `PromoteTemps` for promotionDylan MacKenzie-6/+6
2019-11-06Implement pass to remove branches on uninhabited variantsWesley Wiser-0/+224
2019-11-05rustc: remove "GlobalMetaData" dead code from hir::map::definitions.Eduard-Mihai Burtescu-8/+8
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