about summary refs log tree commit diff
path: root/compiler/rustc_mir_transform/src
AgeCommit message (Expand)AuthorLines
2022-09-04remap mir before running optimization passesDeadbeef-4/+7
2022-09-04Make `const_eval_select` a real intrinsicDeadbeef-3/+65
2022-08-30Auto merge of #99102 - JakobDegen:reorder-generators, r=oli-obkbors-84/+108
2022-08-30Simplify pass manager's `run_passes` logicJakob Degen-29/+19
2022-08-30Refactor MIR phasesJakob Degen-56/+90
2022-08-30Auto merge of #100812 - Nilstrieb:revert-let-chains-nightly, r=Mark-Simulacrumbors-0/+1
2022-08-29Revert let_chains stabilizationNilstrieb-0/+1
2022-08-29Rollup merge of #100239 - RalfJung:const-prop-uninit, r=oli-obkDylan DPC-32/+53
2022-08-29Rollup merge of #101111 - saethlin:better-fnentry-spans, r=RalfJungMatthias Krüger-11/+8
2022-08-29Rollup merge of #99027 - tmiasko:basic-blocks, r=oli-obkMatthias Krüger-65/+64
2022-08-28Use the declaration's SourceInfo for FnEntry retags, not the outermostBen Kimock-11/+8
2022-08-27remove a now-useless machine hookRalf Jung-9/+0
2022-08-27remove an ineffective check in const_propRalf Jung-24/+54
2022-08-27Rollup merge of #101057 - cjgillot:one-fn-sig, r=compiler-errorsYuki Okushi-1/+1
2022-08-26Merge implementations of HIR fn_decl and fn_sig.Camille GILLOT-1/+1
2022-08-26make read_immediate error immediately on uninit, so ImmTy can carry initializ...Ralf Jung-33/+22
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