about summary refs log tree commit diff
path: root/compiler/rustc_mir_transform/src
AgeCommit message (Expand)AuthorLines
2023-06-02Auto merge of #111677 - fee1-dead-contrib:rustc_const_eval-translatable, r=ol...bors-7/+26
2023-06-01Auto merge of #112040 - cjgillot:separate-const-switch, r=oli-obkbors-17/+30
2023-06-01fix diagnostic messageDeadbeef-2/+4
2023-06-01improve debug message by eagerly translatingDeadbeef-2/+2
2023-06-01Use translatable diagnostics in `rustc_const_eval`Deadbeef-7/+24
2023-06-01Auto merge of #112002 - saethlin:enable-sroa, r=oli-obk,scottmcmbors-5/+45
2023-05-31Enable ScalarReplacementOfAggregatesBen Kimock-5/+45
2023-05-31Document handling of StorageDead.Camille GILLOT-0/+15
2023-05-31Auto merge of #111913 - oli-obk:valtrees2, r=lcnrbors-2/+2
2023-05-31Only rewrite valtree-constants to patterns and keep other constants opaqueOli Scherer-2/+2
2023-05-31Auto merge of #112070 - lcnr:disjoint-closure-capture-ub, r=oli-obkbors-3/+0
2023-05-29unique borrows are mutating useslcnr-3/+0
2023-05-29EarlyBinder::new -> EarlyBinder::bindlcnr-7/+7
2023-05-29Enable ConstGoto pass by default.Camille GILLOT-1/+1
2023-05-29Enable SeparateConstSwitch by default.Camille GILLOT-2/+5
2023-05-29Visit bodies in RPO for const-prop.Camille GILLOT-7/+8
2023-05-29Stop marking locals as dead in ConstProp.Camille GILLOT-7/+1
2023-05-28Auto merge of #111813 - scottmcm:pretty-mir, r=cjgillotbors-0/+155
2023-05-28Make EarlyBinder's inner value private; and fix all of the resulting errorsKyle Matsuda-2/+5
2023-05-28Replace EarlyBinder(x) with EarlyBinder::new(x)Kyle Matsuda-7/+7
2023-05-28Auto merge of #112026 - saethlin:misaligned-addrof, r=pnkfelixbors-0/+8
2023-05-28Auto merge of #112001 - saethlin:enable-matchbranchsimplification, r=cjgillotbors-2/+7
2023-05-27Exclude Rvalue::AddressOf for raw pointer deref alignment checksBen Kimock-0/+8
2023-05-27Try enabling MatchBranchSimplificationBen Kimock-2/+7
2023-05-27Rollup merge of #111952 - cjgillot:drop-replace, r=WaffleLapkinGuillaume Gomez-12/+21
2023-05-25Remove DesugaringKind::Replace.Camille GILLOT-12/+21
2023-05-25Remove ExpnKind::Inlined.Camille GILLOT-18/+0
2023-05-25Auto merge of #111925 - Manishearth:rollup-z6z6l2v, r=Manishearthbors-2/+2
2023-05-24Rollup merge of #111912 - WaffleLapkin:is_some_and_in_the_compiler, r=petroch...Manish Goregaokar-2/+2
2023-05-24Rollup merge of #111121 - Zalathar:ra-false-positive, r=jackh726Matthias Krüger-2/+2
2023-05-24Auto merge of #111673 - cjgillot:dominator-preprocess, r=cjgillot,tmiaskobors-30/+15
2023-05-24Use `Option::is_some_and` and `Result::is_ok_and` in the compilerMaybe Waffle-2/+2
2023-05-23Rollup merge of #111501 - WaffleLapkin:drivebycleanupuwu, r=oli-obkDylan DPC-32/+9
2023-05-21PR feedback: better comments and debug assertsScott McMurray-3/+19
2023-05-21MIR: opt-in normalization of `BasicBlock` and `Local` numberingScott McMurray-0/+139
2023-05-20Don't inline functions with unsized argsJakob Degen-3/+12
2023-05-20Rollup merge of #111619 - cjgillot:profile-pass, r=WaffleLapkinDylan DPC-6/+6
2023-05-17Auto merge of #111568 - scottmcm:undo-opt, r=WaffleLapkinbors-13/+0
2023-05-17Rollup merge of #110930 - b-naber:normalize-elaborate-drops, r=cjgillotDylan DPC-1/+26
2023-05-17Simplify back-edge logic.Camille GILLOT-1/+1
2023-05-17Do not clone dominator tree for SSA analysis.Camille GILLOT-11/+8
2023-05-17Drive-by cleanup: `debug::term_type` => `TerminatorKind::name`Maybe Waffle-32/+9
2023-05-17Merge DominatorTree and Dominators.Camille GILLOT-17/+8
2023-05-17Cache dominators.Camille GILLOT-2/+5
2023-05-17Preprocess dominator tree to answer queries in O(1)Tomasz Miąsko-30/+24
2023-05-16Auto merge of #111556 - cjgillot:copy-prop-nrvo, r=oli-obkbors-42/+50
2023-05-16Rollup merge of #111533 - clubby789:drop-tracking-error, r=oli-obkMatthias Krüger-2/+3
2023-05-15Profile MIR passes.Camille GILLOT-6/+6
2023-05-15Move expansion of query macros in rustc_middle to rustc_middle::queryJohn Kåre Alsaker-5/+5
2023-05-14Stop turning transmutes into discriminants in mir-optScott McMurray-13/+0