summary refs log tree commit diff
path: root/compiler/rustc_mir/src/transform
AgeCommit message (Expand)AuthorLines
2020-10-16Auto merge of #77947 - tmiasko:promoted-scope, r=oli-obkbors-3/+14
2020-10-14Create a single source scope for promotedsTomasz Miąsko-3/+14
2020-10-14Validate references to source scopesTomasz Miąsko-2/+15
2020-10-14Rollup merge of #77892 - est31:remove_redundant_absolute_paths, r=lcnrYuki Okushi-1/+1
2020-10-13Replace absolute paths with relative onesest31-1/+1
2020-10-13Auto merge of #77755 - bugadani:perf-calc-dtor, r=ecstatic-morsebors-1/+1
2020-10-13Auto merge of #77796 - jonas-schievink:switchint-refactor, r=oli-obkbors-97/+86
2020-10-13Rollup merge of #77550 - lcnr:ty-dep-path-ct-cleanup, r=ecstatic-morseYuki Okushi-5/+1
2020-10-11Auto merge of #77793 - tmiasko:no-op-discriminant, r=ecstatic-morsebors-1/+1
2020-10-11Use SmallVec in SwitchTargetsJonas Schievink-1/+1
2020-10-10Refactor how SwitchInt stores jump targetsJonas Schievink-97/+86
2020-10-10Take functions by valueDániel Buga-1/+1
2020-10-10Recognize discriminant reads as no-ops in RemoveNoopLandingPadsTomasz Miąsko-1/+1
2020-10-09Revert calculate_dtor signature changeDániel Buga-1/+1
2020-10-09Add find_map_relevant_implDániel Buga-2/+1
2020-10-07Auto merge of #77597 - simonvandel:uninhabited-hashset, r=jonas-schievinkbors-2/+7
2020-10-07perf: UninhabitedEnumBranching void n^2Simon Vandel Sillesen-2/+7
2020-10-07Auto merge of #77464 - ecstatic-morse:const-fn-impl-trait, r=oli-obkbors-3/+8
2020-10-07normalize substs during inliningBastian Kauschke-3/+7
2020-10-07Rollup merge of #77582 - ecstatic-morse:disable-early-otherwise-branch, r=wes...Dylan DPC-1/+1
2020-10-07Rollup merge of #77568 - lcnr:mir-inline-def-id, r=ecstatic-morseDylan DPC-17/+15
2020-10-05Make `impl Trait` unstable in all contextsDylan MacKenzie-6/+2
2020-10-05Remove `fn` from feature nameDylan MacKenzie-2/+2
2020-10-05Add `#![feature(const_fn_impl)]`Dylan MacKenzie-2/+11
2020-10-05Move `EarlyOtherwiseBranch` to mir-opt-level 2Dylan MacKenzie-1/+1
2020-10-05Updates to experimental coverage counter injectionRich Kadel-217/+1011
2020-10-05Auto merge of #77549 - tmiasko:simplify-branch-same-fix, r=oli-obkbors-1/+2
2020-10-05Auto merge of #77552 - ecstatic-morse:body-def-id, r=lcnrbors-95/+77
2020-10-05inliner: use caller param_envBastian Kauschke-17/+15
2020-10-05query_name_of_opt_const_arg -> query_name_opt_const_argBastian Kauschke-1/+1
2020-10-05Rollup merge of #77512 - ecstatic-morse:const-checking-allow-abort, r=RalfJungDylan DPC-17/+11
2020-10-04Replace `(Body, WithOptConstParam)` with `Body` where possibleDylan MacKenzie-6/+3
2020-10-04Replace `(Body, DefId)` with `Body` where possibleDylan MacKenzie-89/+74
2020-10-04cleanup WithOptConstParam queriesBastian Kauschke-5/+1
2020-10-04Add comment to `Abort` match armecstatic-morse-0/+1
2020-10-04Remember the `MirSource` for each `Body`Dylan MacKenzie-269/+207
2020-10-04Move `MirSource` to `rustc_middle`Dylan MacKenzie-28/+3
2020-10-04Discuss cleanup blocks and `span_bug` on `Abort`Dylan MacKenzie-6/+11
2020-10-04stop promoting union field accesses in 'const'Ralf Jung-20/+14
2020-10-04Enable RenameReturnPlace MIR optimization on mir-opt-level >= 2Tomasz Miąsko-6/+0
2020-10-04Fix miscompile in SimplifyBranchSameSimon Vandel Sillesen-1/+2
2020-10-03Allow `Abort` terminators in a const-contextDylan MacKenzie-14/+2
2020-10-03Rollup merge of #77251 - dtolnay:drop, r=Aaron1011Jonas Schievink-1/+30
2020-10-02Auto merge of #77462 - jonas-schievink:rollup-m0rqdh5, r=jonas-schievinkbors-3/+12
2020-10-02Rollup merge of #77415 - ecstatic-morse:const-checking-async-block, r=oli-obkJonas Schievink-3/+12
2020-10-02validate: skip debuginfoJonas Schievink-15/+14
2020-10-02validate: storage must be allocated on local useJonas Schievink-3/+29
2020-10-01Disable the SimplifyArmIdentity mir-optWesley Wiser-1/+6
2020-10-01Fixme with link for re-enabling const mutation lint for Drop constsDavid Tolnay-2/+9
2020-10-01Unify `&mut` and `&raw mut` const-checking errorsDylan MacKenzie-29/+15