about summary refs log tree commit diff
path: root/src/librustc_mir/transform
AgeCommit message (Expand)AuthorLines
2020-05-27Add explanation about taking the minimum of the two lintsLeSeulArtichaut-0/+11
2020-05-27Fix wrong conflict resolutionLeSeulArtichaut-7/+1
2020-05-27Use the lowest of `unsafe_op_in_unsafe_fn` and `safe_borrow_packed` for packe...LeSeulArtichaut-5/+28
2020-05-27Fix inverted `if` conditionLeSeulArtichaut-1/+1
2020-05-27Apply suggestions from code reviewLeSeulArtichaut-23/+44
2020-05-27Implement RFC 2585LeSeulArtichaut-9/+54
2020-05-26Rollup merge of #72401 - ecstatic-morse:issue-72394, r=eddybDylan DPC-2/+2
2020-05-26Rollup merge of #72270 - RalfJung:lint-ref-to-packed, r=oli-obkDylan DPC-1/+71
2020-05-26Auto merge of #72093 - jonas-schievink:unmut, r=oli-obkbors-8/+110
2020-05-25Rollup merge of #72451 - ecstatic-morse:nrvo-type-mismatch, r=matthewjasperDylan DPC-12/+6
2020-05-25Always validate MIR after optimizingJonas Schievink-0/+5
2020-05-25Add a small MIR validation passJonas Schievink-1/+93
2020-05-25Avoid `Operand::Copy` with `&mut T`Jonas Schievink-7/+12
2020-05-25rename lintRalf Jung-4/+4
2020-05-25add a lint against references to packed fieldsRalf Jung-1/+71
2020-05-25Auto merge of #72520 - jonas-schievink:cleanup-userty, r=matthewjasperbors-0/+4
2020-05-24Clear MIR local type annotations after borrowckJonas Schievink-0/+4
2020-05-23fix discriminant type in generator transformRalf Jung-1/+1
2020-05-23take mir::PlaceElem by valueBastian Kauschke-10/+10
2020-05-23iterate List by valueBastian Kauschke-2/+2
2020-05-21Perform MIR NRVO even if types don't matchDylan MacKenzie-12/+6
2020-05-22Auto merge of #71956 - ecstatic-morse:remove-requires-storage-analysis, r=tma...bors-136/+127
2020-05-21Rollup merge of #72055 - lcnr:predicate-kind, r=nikomatsakisRalf Jung-13/+15
2020-05-21Auto merge of #72205 - ecstatic-morse:nrvo, r=oli-obkbors-0/+240
2020-05-20Bail out if new return place has different type than oldDylan MacKenzie-1/+12
2020-05-20Use `is_const_fn_raw` when unsafety checkingDylan MacKenzie-2/+2
2020-05-20change `Predicate::kind` to return a referenceBastian Kauschke-1/+1
2020-05-20introduce newtype'd `Predicate<'tcx>`Bastian Kauschke-2/+2
2020-05-20rename `Predicate` to `PredicateKind`, introduce aliasBastian Kauschke-11/+13
2020-05-19Document why we don't look at storage livenessDylan MacKenzie-0/+9
2020-05-19Look for storage conflicts before terminator effectDylan MacKenzie-5/+6
2020-05-19Add comment for strange conditionalDylan MacKenzie-0/+1
2020-05-19Add comment explaining the extra `record_conflicts`Dylan MacKenzie-0/+4
2020-05-19Clean up generator live locals analysisDylan MacKenzie-137/+113
2020-05-19Auto merge of #69171 - Amanieu:new-asm, r=nagisa,nikomatsakisbors-19/+90
2020-05-18Rollup merge of #71973 - lcnr:lazy-norm, r=nikomatsakisDylan DPC-1/+2
2020-05-18Check that asm const operands are actually constantsAmanieu d'Antras-16/+65
2020-05-18Add asm! to MIRAmanieu d'Antras-3/+25
2020-05-18Auto merge of #72269 - RalfJung:unsafe-borrow-of-packed, r=Mark-Simulacrumbors-19/+19
2020-05-17Auto merge of #72135 - oli-obk:const_prop_deaggregates, r=wesleywiserbors-1/+24
2020-05-17Assume unevaluated consts are equal to the other consts and add ConstEquate o...Ben Lewis-1/+2
2020-05-16Name return place in debuginfo if it is a user variableDylan MacKenzie-0/+4
2020-05-16Expand comment with possible improvementsDylan MacKenzie-2/+6
2020-05-16Dumb NRVODylan MacKenzie-0/+221
2020-05-16move borrow-of-packed-field unsafety check out of loopRalf Jung-19/+19
2020-05-16Auto merge of #71665 - RalfJung:miri-intern-no-ice, r=oli-obkbors-2/+1
2020-05-16Rollup merge of #72220 - wesleywiser:const_prop_eval_consts, r=oli-obkDylan DPC-0/+7
2020-05-14[const-prop] Don't replace Rvalues that are already constantsWesley Wiser-0/+7
2020-05-14Rollup merge of #72170 - lcnr:lang_item, r=oli-obkDylan DPC-2/+3
2020-05-14Auto merge of #69756 - wesleywiser:simplify_try, r=oli-obkbors-41/+315