about summary refs log tree commit diff
path: root/src/librustc_mir
AgeCommit message (Expand)AuthorLines
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-24Properly handle InlineAsmOperand::SymFn when collecting monomorphized itemsAmanieu d'Antras-2/+9
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-20fix is_const_contextBastian Kauschke-1/+1
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
2020-05-19Add `MaybeInitializedLocals` dataflow analysisDylan MacKenzie-0/+117
2020-05-19Auto merge of #69171 - Amanieu:new-asm, r=nagisa,nikomatsakisbors-27/+227
2020-05-19update codegen of `discriminant_value`Bastian Kauschke-3/+6
2020-05-18Rollup merge of #72283 - jonas-schievink:elaborate-drop-elaboration, r=cramertjDylan DPC-9/+99
2020-05-18Rollup merge of #71973 - lcnr:lazy-norm, r=nikomatsakisDylan DPC-2/+7
2020-05-18Rollup merge of #71599 - ldm0:fnclo, r=nikomatsakisDylan DPC-1/+1
2020-05-18Check that asm const operands are actually constantsAmanieu d'Antras-16/+65
2020-05-18Add asm! to MIRAmanieu d'Antras-11/+162
2020-05-18Auto merge of #72269 - RalfJung:unsafe-borrow-of-packed, r=Mark-Simulacrumbors-19/+19