about summary refs log tree commit diff
path: root/src/librustc_mir/transform
AgeCommit message (Expand)AuthorLines
2019-12-01Rollup merge of #66832 - RalfJung:const-prop-no-alloc, r=oli-obkMazdak Farrokhzad-7/+25
2019-12-01Rollup merge of #66790 - christianpoveda:check-set-discriminant, r=oli-obkMazdak Farrokhzad-3/+2
2019-11-30Merge match branchesChristian Poveda-4/+1
2019-11-30`find_fn` -> `find_mir_or_eval_fn` renameOliver Scherer-1/+1
2019-11-30Rollup merge of #66895 - Centril:rustc_feature, r=oli-obkMazdak Farrokhzad-24/+24
2019-11-30Rollup merge of #66870 - tmiasko:simplify-ty, r=oli-obkMazdak Farrokhzad-1/+7
2019-11-30move GateIssue to rustc_feature & simplify emit_feature_errMazdak Farrokhzad-24/+24
2019-11-30rustc: move mir::SourceScopeLocalData to a field of SourceScopeData.Eduard-Mihai Burtescu-17/+13
2019-11-30rustc_mir: fix inliner to also copy over source_scope_local_data.Eduard-Mihai Burtescu-1/+10
2019-11-30rustc: move MIR source_scope_local_data's ClearCrossCrate to be around elements.Eduard-Mihai Burtescu-56/+24
2019-11-29SimplifyArmIdentity only for locals with the same typeTomasz Miąsko-1/+7
2019-11-29Auto merge of #66321 - ninjasource:async-fn-resume-after-completion, r=oli-obkbors-6/+15
2019-11-28Auto merge of #66642 - ecstatic-morse:promotion-in-const, r=eddybbors-100/+4
2019-11-28const_prop: detect and avoid catching Miri errors that require allocationRalf Jung-7/+25
2019-11-28Fail fast if generator_kind is NoneDavid Haig-8/+9
2019-11-28Fixed tidy errorsDavid Haig-2/+6
2019-11-28Remove duplication using single variant for errorDavid Haig-17/+6
2019-11-28SquashDavid Haig-5/+20
2019-11-27Don't treat a reference to a `static` as a reborrowDylan MacKenzie-0/+13
2019-11-27Remove `CheckOpResult`Dylan MacKenzie-14/+6
2019-11-27Rollup merge of #66798 - bwignall:typo, r=varkorTyler Mandry-1/+1
2019-11-27Remove `derived_from_illegal_borrow`Dylan MacKenzie-41/+1
2019-11-27Remove `Rvalue::Ref` handling from `HasMutInterior`Dylan MacKenzie-29/+1
2019-11-27Handle `Rvalue::Ref` in one placeDylan MacKenzie-71/+106
2019-11-27Use type-based qualification for staticsDylan MacKenzie-3/+4
2019-11-27rustc: move debug info from LocalDecl and UpvarDecl into a dedicated VarDebug...Eduard-Mihai Burtescu-34/+7
2019-11-27Auto merge of #66677 - wesleywiser:fix_const_prop_alloc_id_ice, r=oli-obkbors-4/+12
2019-11-26Fix spelling typosBrian Wignall-1/+1
2019-11-27Auto merge of #66794 - tmandry:rollup-99qrpr0, r=tmandrybors-0/+3
2019-11-26Change way of checking SetDiscriminantChristian Poveda-3/+2
2019-11-26Check SetDiscriminant placeChristian Poveda-2/+5
2019-11-26Allow `Unreachable` terminators behind `const_if_match`Dylan MacKenzie-0/+3
2019-11-25miri: couple ret place and ret block together (they both exist or both don't)Ralf Jung-6/+4
2019-11-24Respond to CR feedbackWesley Wiser-11/+8
2019-11-23[const prop] Fix "alloc id without corresponding allocation" ICEWesley Wiser-3/+1
2019-11-23Intern allocations during constant propagationWesley Wiser-2/+15
2019-11-23Auto merge of #66507 - ecstatic-morse:const-if-match, r=oli-obkbors-6/+26
2019-11-22Create promoted MIR fragments in `const` and `static`sDylan MacKenzie-100/+4
2019-11-22Rollup merge of #66587 - matthewjasper:handle-static-as-const, r=oli-obkMazdak Farrokhzad-82/+92
2019-11-21Allow `Downcast` projections in `qualify_min_const_fn`Dylan MacKenzie-3/+4
2019-11-21Const-check the discriminant of a `SwitchInt`Dylan MacKenzie-3/+5
2019-11-21Allow `Downcast` projections if `const_if_match` enabledDylan MacKenzie-1/+5
2019-11-21Add feature gate for const `if` and `match`Dylan MacKenzie-2/+15
2019-11-21Track pointers to statics in MIRMatthew Jasper-60/+70
2019-11-21Fix rebaseMatthew Jasper-1/+1
2019-11-21Readjust const qualification to detect statics againSantiago Pastorino-23/+23
2019-11-21Introduce MIR optimizations for simplifying `x?` on `Result`s.Mazdak Farrokhzad-0/+205
2019-11-19Auto merge of #66074 - wesleywiser:test_run_const_prop, r=oli-obkbors-14/+27
2019-11-17Auto merge of #66385 - ecstatic-morse:check-only-pass2, r=eddybbors-1566/+243
2019-11-15[ConstProp] Avoid OOM crashes by not evaluating large PlacesWesley Wiser-0/+5