summary refs log tree commit diff
path: root/compiler/rustc_mir_transform/src
AgeCommit message (Expand)AuthorLines
2023-03-18Remove duplicate switch targetsBen Kimock-1/+15
2023-03-18Remove duplicate unreachable blocksBen Kimock-1/+43
2023-03-18move Option::as_slice to intrinsicAndre Bogus-0/+30
2023-03-16Auto merge of #108944 - cjgillot:clear-local-info, r=oli-obkbors-10/+22
2023-03-16Auto merge of #107270 - cjgillot:remove-zst, r=oli-obkbors-29/+107
2023-03-15Auto merge of #109035 - scottmcm:ptr-read-should-know-undef, r=WaffleLapkin,J...bors-0/+29
2023-03-14Improved implementation and comments after code review feedbackScott McMurray-13/+18
2023-03-14ICE when checking LocalInfo on runtime MIR.Camille GILLOT-3/+9
2023-03-14Remove LocalKind::Var.Camille GILLOT-2/+2
2023-03-14Wrap the whole LocalInfo in ClearCrossCrate.Camille GILLOT-5/+11
2023-03-13Generalize operation.Camille GILLOT-14/+27
2023-03-13Rename method.Camille GILLOT-7/+7
2023-03-13Replace ZST operands and debuginfo by constants.Camille GILLOT-28/+93
2023-03-13Auto merge of #108471 - clubby789:unbox-the-syntax, r=Nilstrieb,est31bors-21/+25
2023-03-12Auto merge of #108872 - cjgillot:simp-const-prop, r=oli-obkbors-277/+195
2023-03-12Auto merge of #108820 - cjgillot:ensure-on-disk, r=oli-obkbors-6/+6
2023-03-12Remove uses of `box_syntax` in rustc and toolsclubby789-21/+25
2023-03-12Auto merge of #108794 - nnethercote:avoid-unnecessary-hashing, r=cjgillotbors-1/+1
2023-03-11`MaybeUninit::assume_init_read` should have `noundef` load metadataScott McMurray-0/+24
2023-03-11Use ensure_with_value in a few more places.Camille GILLOT-1/+1
2023-03-11Make the check for cache opt-in.Camille GILLOT-5/+5
2023-03-10Rollup merge of #108902 - lcnr:do-while-sus, r=davidtwco,NilstriebMatthias Krüger-20/+20
2023-03-09Bug on PlaceMention in dest-prop.Camille GILLOT-2/+3
2023-03-09Pacify tidy.Camille GILLOT-2/+2
2023-03-09Ignore AscribeUserType in unsafeck to avoid duplicate diagnostics.Camille GILLOT-1/+3
2023-03-09Introduce a no-op PlaceMention statement for `let _ =`.Camille GILLOT-1/+12
2023-03-09no more do whilelcnr-20/+20
2023-03-09Auto merge of #108920 - matthiaskrgr:rollup-qrr9a0u, r=matthiaskrgrbors-159/+16
2023-03-09Auto merge of #108178 - cjgillot:ssa-deref, r=oli-obkbors-16/+40
2023-03-08Rollup merge of #108856 - Zeegomo:remove-drop-and-rep, r=tmiaskoMatthias Krüger-159/+16
2023-03-08Remove useless parameter to operand_from_scalar.Camille GILLOT-14/+5
2023-03-08Make comment more explicit.Camille GILLOT-2/+4
2023-03-08Separate checking rvalue from evaluation.Camille GILLOT-113/+104
2023-03-08Recurse into statement before applying its effect.Camille GILLOT-4/+8
2023-03-08Refactor tracking of writes.Camille GILLOT-72/+58
2023-03-08Remove OnlyPropagateInto.Camille GILLOT-31/+8
2023-03-08Only assign value in remove_const.Camille GILLOT-15/+7
2023-03-08Do not track span in ConstProp.Camille GILLOT-30/+9
2023-03-08Simplify visit_statement.Camille GILLOT-65/+61
2023-03-08Create visit_block_data for const-prop-lint.Camille GILLOT-5/+5
2023-03-08Auto merge of #108312 - michaelwoerister:hash-set-not-hash-stable, r=eholkbors-12/+10
2023-03-08Only compute the crate hash when necessary.Nicholas Nethercote-1/+1
2023-03-07Remove DropAndReplace terminatorGiacomo Pasini-159/+16
2023-03-06Rollup merge of #108786 - saethlin:free-regions-check, r=oli-obkMatthias Krüger-6/+0
2023-03-06Auto merge of #108787 - cjgillot:sroa-lifetime, r=compiler-errorsbors-3/+5
2023-03-05Rollup merge of #108764 - cjgillot:dpm-adapt, r=compiler-errorsMatthias Krüger-6/+8
2023-03-05Check for free regions in MIR validationBen Kimock-6/+0
2023-03-05Erase lifetimes in SROA.Camille GILLOT-3/+5
2023-03-05drop_tracking_mir: avoid good path bug.Camille GILLOT-6/+8
2023-03-05Auto merge of #107844 - Zeegomo:no-drop-and-rep, r=cjgillotbors-5/+14