about summary refs log tree commit diff
path: root/src/librustc_mir
AgeCommit message (Expand)AuthorLines
2020-05-28Auto merge of #72494 - lcnr:predicate-cleanup, r=nikomatsakisbors-35/+35
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-9/+111
2020-05-25Rollup merge of #72538 - rakshith-ravi:refactor/remove-const-query, r=oli-obkDylan DPC-32/+1
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-8/+13
2020-05-25rename lintRalf Jung-4/+4
2020-05-25Auto merge of #72562 - RalfJung:rollup-2ngjgwi, r=RalfJungbors-98/+110
2020-05-25Rollup merge of #72544 - sexxi-goose:upvars_mentioned, r=matthewjasperRalf Jung-4/+9
2020-05-25Rollup merge of #72525 - RalfJung:miri-cast-checks, r=eddybRalf Jung-94/+101
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-24librustc_middle: Rename upvars query to upvars_mentionedAman Arora-4/+9
2020-05-24comment nitRalf Jung-1/+1
2020-05-24use helper method for determining size of int typeRalf Jung-15/+11
2020-05-24Removed all instances of const_field.Rakshith Ravi-32/+1
2020-05-24Fix unsizing castsRalf Jung-20/+18
2020-05-24Miri casts: do not blindly rely on dest typeRalf Jung-51/+76
2020-05-24Auto merge of #72362 - matthewjasper:remove-rescope, r=nikomatsakisbors-5/+0
2020-05-24Clear MIR local type annotations after borrowckJonas Schievink-0/+4
2020-05-24make some cast helpers infallibleRalf Jung-29/+17
2020-05-23fix discriminant type in generator transformRalf Jung-1/+1
2020-05-23take mir::PlaceElem by valueBastian Kauschke-38/+38
2020-05-23iterate List by valueBastian Kauschke-15/+15
2020-05-22Use `OnceCell` instead of `Once`Dylan MacKenzie-6/+5
2020-05-22Remove dead ScopeTree codeMatthew Jasper-4/+0
2020-05-22Remove ReScopeMatthew Jasper-1/+0
2020-05-22Rollup merge of #71610 - divergentdave:InvalidUndefBytes-range, r=RalfJungRalf Jung-6/+8
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-370/+252
2020-05-21Rollup merge of #72425 - RalfJung:discr-sign-ext, r=nikomatsakisRalf Jung-1/+4
2020-05-21Rollup merge of #72055 - lcnr:predicate-kind, r=nikomatsakisRalf Jung-23/+27
2020-05-21fix discriminant sign extensionRalf Jung-1/+4
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-21Auto merge of #70705 - lcnr:generic_discriminant, r=nikomatsakisbors-3/+6
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-9/+11
2020-05-20rename `Predicate` to `PredicateKind`, introduce aliasBastian Kauschke-17/+19
2020-05-19Document why we don't look at storage livenessDylan MacKenzie-0/+9
2020-05-19Document assumptions made in generator transform for analysesDylan MacKenzie-0/+6
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-19Remove `MaybeRequiresStorage`Dylan MacKenzie-234/+2
2020-05-19Clean up generator live locals analysisDylan MacKenzie-137/+113