about summary refs log tree commit diff
path: root/compiler/rustc_mir_transform/src
AgeCommit message (Expand)AuthorLines
2023-04-16more clippy fixes: clippy::{iter_cloned_collect, unwarp_or_else_default, opti...Matthias Krüger-4/+2
2023-04-16Move some utils out of `rustc_const_eval`Nilstrieb-1/+6
2023-04-15Remove outdated comment.Camille GILLOT-2/+0
2023-04-15Remove useless methods in visit.Camille GILLOT-6/+0
2023-04-15Only enable ConstProp at mir-opt-level >= 2.Camille GILLOT-1/+1
2023-04-13Rollup merge of #110283 - saethlin:check-panics-before-alignment, r=bjorn3Matthias Krüger-0/+7
2023-04-13Only emit alignment checks if we have a panic_implBen Kimock-0/+7
2023-04-13Auto merge of #109466 - davidlattimore:inline-arg-via-var-debug-info, r=wesle...bors-0/+7
2023-04-11Preserve argument indexes when inlining MIRDavid Lattimore-0/+7
2023-04-10Fix typos in compilerDaniPopes-2/+2
2023-04-09Auto merge of #110031 - compiler-errors:generic-elaboration, r=b-naberbors-8/+2
2023-04-07Permit MIR inlining without #[inline]Ben Kimock-8/+2
2023-04-07Auto merge of #102906 - nbdd0121:mir, r=wesleywiser,tmiaskobors-115/+137
2023-04-06Make elaborator genericMichael Goulet-8/+2
2023-04-06UnwindAction::Terminate edge is also critical edgeGary Guo-1/+2
2023-04-06Fix new usage of old apiGary Guo-1/+1
2023-04-06Fix new usage of old apiGary Guo-4/+4
2023-04-06Address review feedbackGary Guo-4/+4
2023-04-06Rename `Abort` terminator to `Terminate`Gary Guo-27/+23
2023-04-06Add `UnwindAction::Terminate`Gary Guo-32/+15
2023-04-06Add `UnwindAction::Unreachable`Gary Guo-18/+29
2023-04-06Refactor unwind from Option to a new enumGary Guo-58/+89
2023-04-06Auto merge of #109915 - scottmcm:layout-indexvec, r=oli-obkbors-1/+1
2023-04-05Comment logic around worklist.Camille GILLOT-0/+3
2023-04-05Only visit reachable blocks in ConstProp lint.Camille GILLOT-8/+32
2023-04-05Extract check_assertion.Camille GILLOT-72/+71
2023-04-05Manipulate Location instead of SourceInfo.Camille GILLOT-50/+36
2023-04-05Do not keep extra references to scopes and decls.Camille GILLOT-18/+13
2023-04-04Use `FieldIdx` in `FieldsShape`Scott McMurray-1/+1
2023-04-04Rollup merge of #109938 - oli-obk:try_norm, r=compiler-errorsMichael Goulet-1/+9
2023-04-04Move a const-prop-lint specific hack from mir interpret to const-prop-lint an...Oli Scherer-1/+9
2023-04-03Doc-comment `IndexVec::from_elem` and use it in a few more placesScott McMurray-3/+2
2023-04-02Use `&IndexSlice` instead of `&IndexVec` where possibleScott McMurray-22/+22
2023-04-01Use `FieldIdx` in various things related to aggregatesScott McMurray-2/+2
2023-03-31Auto merge of #98112 - saethlin:mir-alignment-checks, r=oli-obkbors-0/+229
2023-03-31Auto merge of #109762 - scottmcm:variantdef-indexvec, r=WaffleLapkinbors-3/+4
2023-03-30Update `ty::VariantDef` to use `IndexVec<FieldIdx, FieldDef>`Scott McMurray-3/+4
2023-03-30Auto merge of #105587 - tgross35:once-cell-min, r=m-ou-sebors-1/+0
2023-03-29Stabilize a portion of 'once_cell'Trevor Gross-1/+0
2023-03-29Rollup merge of #109716 - scottmcm:field-to-fieldidx, r=oli-obkMatthias Krüger-31/+34
2023-03-29Auto merge of #108089 - Zoxc:windows-tls, r=bjorn3bors-0/+31
2023-03-29Rename `IndexVec::last` → `last_index`Scott McMurray-1/+1
2023-03-29Support TLS access into dylibs on WindowsJohn Kåre Alsaker-0/+31
2023-03-28Move `mir::Field` → `abi::FieldIdx`Scott McMurray-31/+34
2023-03-28Simplify transmutes in MIR InstCombineScott McMurray-4/+50
2023-03-28Auto merge of #108080 - oli-obk:FnPtr-trait, r=lcnrbors-1/+42
2023-03-27Add a builtin `FnPtr` traitlcnr-1/+42
2023-03-27Rollup merge of #109641 - compiler-errors:dont-elaborate-non-obl, r=oli-obkMatthias Krüger-2/+2
2023-03-26Don't elaborate non-obligations into obligationsMichael Goulet-2/+2
2023-03-26Auto merge of #109626 - matthiaskrgr:rollup-k0y7bdd, r=matthiaskrgrbors-8/+5