about summary refs log tree commit diff
path: root/compiler/rustc_mir_transform
AgeCommit message (Expand)AuthorLines
2022-08-26Replace `Body::basic_blocks()` with field accessTomasz Miąsko-65/+64
2022-08-26Rollup merge of #100034 - tmiasko:elaborate-box-derefs, r=oli-obkYuki Okushi-102/+9
2022-08-25Elaborate all box dereferences in `ElaborateBoxDerefs`Tomasz Miąsko-102/+9
2022-08-25Auto merge of #100571 - cjgillot:mir-cost-visit, r=compiler-errorsbors-92/+222
2022-08-24Auto merge of #99946 - tmiasko:elide-storage-makers, r=oli-obkbors-29/+8
2022-08-23Fix typo in UnreachablePropnils-1/+1
2022-08-23Elide storage markers for internal locals when inliningTomasz Miąsko-2/+6
2022-08-23Elide storage markers when elaborating deref projectionsTomasz Miąsko-19/+1
2022-08-23Elide storage markers when elaborating box derefsTomasz Miąsko-8/+1
2022-08-21Enable UnreachablePropagation under mir-opt-level >= 2Nilstrieb-3/+2
2022-08-21UnreachableProp: Preserve unreachable branches for multiple targetsNilstrieb-23/+48
2022-08-21Also validate types before inlining.Camille GILLOT-0/+100
2022-08-21Refactor cost computation as a visitor.Camille GILLOT-92/+122
2022-08-19Rollup merge of #100522 - cjgillot:inline-polymorphic-recursion, r=tmiaskoDylan DPC-4/+9
2022-08-19Rollup merge of #100081 - RalfJung:unused-unsafe-in-unsafe-fn, r=jackh726Dylan DPC-71/+17
2022-08-17Ignore substs when checking inlining history.Camille GILLOT-4/+9
2022-08-12Adjust cfgsMark Rousskov-1/+0
2022-08-12Rollup merge of #100229 - RalfJung:extra-const-ub-checks, r=lcnrDylan DPC-0/+12
2022-08-11Rollup merge of #100392 - nnethercote:simplify-visitors, r=cjgillotMatthias Krüger-9/+1
2022-08-11Rollup merge of #100192 - tmiasko:rm-duplicated-locals, r=nagisaDylan DPC-8/+0
2022-08-11Simplify `rustc_hir::intravisit::Visitor::visit_variant_data`.Nicholas Nethercote-9/+1
2022-08-09dont rely on old macro-in-trait-impl bugRalf Jung-0/+12
2022-08-09Add option to `mir::MutVisitor` to not invalidate CFG.Jakob Degen-9/+9
2022-08-06Remove duplicated temporaries creating during box derefs elaborationTomasz Miąsko-8/+0
2022-08-04Rollup merge of #100095 - jackh726:early-binder, r=lcnrMatthias Krüger-7/+4
2022-08-03Add bound_impl_subject and bound_return_tyJack Huey-7/+4
2022-08-02Avoid invalidating the CFG in MirPatch.Jakob Degen-2/+2
2022-08-02update commentRalf Jung-3/+0
2022-08-02remove some unused code and typesRalf Jung-49/+15
2022-08-02never consider unsafe blocks unused if they would be required with unsafe_op_...Ralf Jung-27/+10
2022-07-31Rollup merge of #99186 - camsteffen:closure-localdefid, r=cjgillotDylan DPC-1/+1
2022-07-30Use LocalDefId for closures moreCameron Steffen-1/+1
2022-07-29Change maybe_body_owned_by to take local def idMiguel Guarniz-3/+3
2022-07-29Auto merge of #99667 - ouz-a:some_branch, r=oli-obkbors-5/+4
2022-07-27lint: add bad opt access internal lintDavid Wood-2/+2
2022-07-26Rollup merge of #99739 - nnethercote:rm-E0133, r=Dylan-DPCDylan DPC-1/+1
2022-07-26Rollup merge of #99711 - tmiasko:coverage, r=wesleywiserYuki Okushi-1/+11
2022-07-26Remove erroneous E0133 code from an error message.Nicholas Nethercote-1/+1
2022-07-26Rollup merge of #99178 - Dajamante:clean_up, r=oli-obkYuki Okushi-344/+23
2022-07-26Rollup merge of #97077 - ouz-a:Optimize-backend, r=oli-obkYuki Okushi-21/+5
2022-07-25removed CanConstProp + VisitorAïssata-125/+7
2022-07-25Lighten up const_prop_lint, reusing const_propAïssata-222/+19
2022-07-25Remove reachable coverage without countersTomasz Miąsko-1/+11
2022-07-25Rollup merge of #99581 - nnethercote:improve-derive-packed-errors, r=estebankYuki Okushi-5/+8
2022-07-25Improve error messages involving `derive` and `packed`.Nicholas Nethercote-5/+8
2022-07-24optimize un_dereferouz-a-5/+4
2022-07-22has_deref: simpler comparison, ty fixouz-a-9/+5
2022-07-22simplify more, ret_deref -> has_derefouz-a-3/+2
2022-07-22simplify some code that depend on Derefouz-a-20/+9
2022-07-22Rollup merge of #98868 - tmiasko:unreachable-coverage, r=wesleywiserDylan DPC-35/+43