about summary refs log tree commit diff
path: root/compiler/rustc_mir/src/transform
AgeCommit message (Expand)AuthorLines
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
2020-10-01Give better const-checking error for `async` blocksDylan MacKenzie-3/+12
2020-10-01Auto merge of #74839 - alarsyo:multiple_return_terminators, r=oli-obkbors-0/+41
2020-10-01Implement multiple return terminators optimizationAntoine Martin-0/+41
2020-10-01Auto merge of #77354 - ecstatic-morse:const-checking-moar-errors, r=oli-obkbors-209/+242
2020-09-30Warn on method call mutating const, even if it has destructorDavid Tolnay-1/+1
2020-09-30Skip dropck::check_drop_impl in is_const_item_without_destructorDavid Tolnay-1/+2
2020-09-30Simplify defid destructor checkDavid Tolnay-1/+1
2020-09-30Add justification of the destructor filterDavid Tolnay-0/+12
2020-09-30Bypass const_item_mutation if const's type has Drop implDavid Tolnay-2/+11
2020-10-01Rollup merge of #77343 - varkor:rustc_args_required_const-validation, r=lcnrDylan DPC-1/+1