summary refs log tree commit diff
path: root/src/test/mir-opt
AgeCommit message (Expand)AuthorLines
2020-01-24Render const pointers in MIR more compactlyOliver Scherer-4/+4
2020-01-20Rollup merge of #68335 - RalfJung:drop-in-place, r=Mark-SimulacrumDylan DPC-7/+7
2020-01-18slice_patterns: remove gates in testsMazdak Farrokhzad-1/+0
2020-01-18Auto merge of #68170 - wesleywiser:stop_const_prop_ref_taking, r=oli-obkbors-2/+2
2020-01-18adjust mir-opt testsRalf Jung-7/+7
2020-01-15Rollup merge of #68236 - JohnTitor:ice-tests, r=CentrilDylan DPC-0/+1
2020-01-15Set mir-opt-level to 3 to prevent regressionsYuki Okushi-0/+1
2020-01-14Add unreachable propagation mir optimization passKonstantinos Triantafyllou-67/+339
2020-01-12Turn off const propagation of ref takingWesley Wiser-2/+2
2020-01-10Rebase falloutOliver Scherer-2/+4
2020-01-10Add regression tests for promotion mir expansionOliver Scherer-0/+59
2020-01-10Promote `Ref`s to constants instead of staticSantiago Pastorino-10/+15
2020-01-09Rollup merge of #67630 - oli-obk:extern_ptr_dangling, r=spastorinoMazdak Farrokhzad-0/+71
2020-01-04Rollup merge of #67137 - anp:tracked-panic-internals, r=eddybDylan DPC-0/+1
2020-01-04Test cleanups to match #[track_caller] in panic!.Adam Perry-0/+1
2019-12-30Lint overflowing integer casts in const propWesley Wiser-0/+49
2019-12-27Fix `Instance::resolve()` incorrectly returning specialized instancesWesley Wiser-0/+48
2019-12-26Treat extern statics just like statics in the "const pointer to static" repre...Oliver Scherer-0/+71
2019-12-21Rollup merge of #67333 - wesleywiser:fix_inline_into_box_place, r=oli-obkMazdak Farrokhzad-0/+71
2019-12-20Move the rest of the mir-opt inline tests into a folderWesley Wiser-0/+0
2019-12-20[mir-opt] Fix `Inline` pass to handle inlining into `box` expressionsWesley Wiser-0/+71
2019-12-20Rollup merge of #67130 - wesleywiser:const_prop_into_locals, r=oli-obkMazdak Farrokhzad-4/+153
2019-12-18Add mir opt test for AddressOfMatthew Jasper-0/+112
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