about summary refs log tree commit diff
path: root/compiler/rustc_mir_transform
AgeCommit message (Expand)AuthorLines
2025-04-23Rollup merge of #140160 - oli-obk:lang-items, r=jieyouxuChris Denton-2/+2
2025-04-22Use `is_lang_item` and `as_lang_item` instead of handrolling their logicOli Scherer-2/+2
2025-04-22Remove unnecessary lifetime on `ResultsVisitor`.Nicholas Nethercote-7/+7
2025-04-21mir-opt: execute MatchBranchSimplification after GVNdianqk-2/+1
2025-04-20mir-opt: Use one MirPatch in MatchBranchSimplificationdianqk-23/+14
2025-04-19Rollup merge of #140024 - cjgillot:continue-jumping, r=compiler-errorsChris Denton-71/+64
2025-04-19Rollup merge of #139042 - compiler-errors:do-not-optimize-switchint, r=saethlinChris Denton-15/+32
2025-04-19Introduce Arena::try_alloc_from_iter.Camille GILLOT-10/+2
2025-04-18Remove early exits from JumpThreading.Camille GILLOT-71/+64
2025-04-17Rollup merge of #139902 - lcnr:no-opaque-cast-projection, r=oli-obkMatthias Krüger-13/+15
2025-04-17do not emit `OpaqueCast` projections with `-Znext-solver`lcnr-13/+15
2025-04-16Move eager translation to a method on `Diag`Jake Goulding-11/+5
2025-04-15Auto merge of #139845 - Zalathar:rollup-u5u5y1v, r=Zalatharbors-2/+2
2025-04-15Rollup merge of #139669 - nnethercote:overhaul-AssocItem, r=oli-obkStuart Cook-2/+2
2025-04-15Move `name` field from `AssocItem` to `AssocKind` variants.Nicholas Nethercote-1/+1
2025-04-14Rollup merge of #139811 - yotamofek:pr/newtype_cleanups, r=oli-obkMatthias Krüger-23/+26
2025-04-14Use `newtype_index!`-generated types more idiomaticallyYotam Ofek-23/+26
2025-04-14Rollup merge of #139767 - compiler-errors:www, r=oli-obkMatthias Krüger-15/+2
2025-04-14Auto merge of #139781 - jhpratt:rollup-qadsjvb, r=jhprattbors-0/+7
2025-04-14Move `has_self` field to `hir::AssocKind::Fn`.Nicholas Nethercote-1/+1
2025-04-13Rollup merge of #139699 - compiler-errors:coroutine-drop-phase, r=scottmcmJacob Pratt-0/+7
2025-04-14Auto merge of #124141 - nnethercote:rm-Nonterminal-and-TokenKind-Interpolated...bors-1/+0
2025-04-14Auto merge of #139766 - jhpratt:rollup-afrfmnk, r=jhprattbors-77/+51
2025-04-13Visit place in BackwardIncompatibleDropHint statementMichael Goulet-15/+2
2025-04-13Rollup merge of #139674 - yotamofek:pr/mir_transform/index-iterators, r=compi...Jacob Pratt-53/+39
2025-04-13Rollup merge of #139644 - yotamofek:pr/mir_transform/instsimplify/simplify_pr...Jacob Pratt-17/+8
2025-04-13Rollup merge of #139379 - matthewjasper:drop-elab-normalization, r=compiler-e...Jacob Pratt-7/+4
2025-04-13JumpThreading: Bail out on interp errorsclubby789-67/+91
2025-04-13JumpThreading: Re-enable and fix Not ops on non-booleansclubby789-18/+11
2025-04-12Proactively update coroutine drop shim's phase to account for later passes ap...Michael Goulet-0/+7
2025-04-12In `rustc_mir_tranform`, iterate over index newtypes instead of intsYotam Ofek-53/+39
2025-04-11Use delayed bug for normalization errors in drop elaborationMatthew Jasper-7/+4
2025-04-10Cleanup the `InstSimplify` MIR transformationYotam Ofek-106/+86
2025-04-10Micro-optimize `InstSimplify`'s `simplify_primitive_clone`Yotam Ofek-17/+8
2025-04-09Auto merge of #139327 - cjgillot:gvn-place, r=oli-obkbors-27/+47
2025-04-08Do not optimize out SwitchInt before borrowck, or if Zmir-preserve-ubMichael Goulet-15/+32
2025-04-08borrowck typeck children together with their parentlcnr-3/+6
2025-04-07check_align: we can still check low alignments on MSVCRalf Jung-3/+27
2025-04-07mitigate MSVC unsoundness by not emitting alignment attributes on win32-msvc ...Ralf Jung-2/+2
2025-04-05In `simplify_repeated_aggregate`, don't test first element against itselfYotam Ofek-3/+3
2025-04-04Only introduce stable projections.Camille GILLOT-4/+12
2025-04-04Allow GVN to produce places and not just locals.Camille GILLOT-27/+39
2025-04-03Auto merge of #132527 - DianQK:gvn-stmt-iter, r=oli-obkbors-130/+110
2025-04-03Invalid dereferences for all non-local mutationsdianqk-14/+16
2025-04-03Only preserving derefs for trivial terminators like SwitchInt and Gotodianqk-2/+8
2025-04-03Remove `unsound-mir-opts` for `simplify_aggregate_to_copy`dianqk-3/+1
2025-04-03Auto merge of #139234 - compiler-errors:query-tweak, r=oli-obkbors-1/+1
2025-04-02Partially revert "Do not unify dereferences in GVN."dianqk-3/+1
2025-04-02Invalidate all dereferences for non-local assignmentsdianqk-8/+30
2025-04-02`next_opaque` is no longer an `Option`dianqk-37/+32