summary refs log tree commit diff
path: root/src/librustc_mir/transform
AgeCommit message (Expand)AuthorLines
2020-08-07Don't panic if the lhs of a div by zero is not statically knownOliver Scherer-5/+21
2020-08-07Forbid non-derefable types explicitly in unsizing castsYuki Okushi-1/+9
2020-07-11Rollup merge of #72920 - oli-obk:const_transmute, r=RalfJungManish Goregaokar-0/+15
2020-07-11Stabilize `transmute` in constants and statics but not const fnOliver Scherer-0/+15
2020-07-10Rollup merge of #73862 - oli-obk:const_array_to_slice, r=RalfJungManish Goregaokar-2/+11
2020-07-09Rollup merge of #74070 - eddyb:forall-tcx-providers, r=nikomatsakisManish Goregaokar-3/+3
2020-07-06Rollup merge of #74102 - oli-obk:const_prop_icde, r=wesleywiserManish Goregaokar-19/+21
2020-07-05Rollup merge of #74027 - lcnr:ConstCx-local-def-id, r=varkorManish Goregaokar-25/+21
2020-07-05Use for<'tcx> fn pointers in Providers, instead of having Providers<'tcx>.Eduard-Mihai Burtescu-3/+3
2020-07-05Auto merge of #73879 - ecstatic-morse:discr-switch-uninit, r=oli-obkbors-0/+1
2020-07-04Fix const prop ICEOliver Scherer-19/+21
2020-07-04nitBastian Kauschke-1/+1
2020-07-04ConstCx to LocalDefIdBastian Kauschke-25/+21
2020-07-03Rollup merge of #73949 - wesleywiser:simplify_try_fixes, r=oli-obkManish Goregaokar-9/+106
2020-07-03Rollup merge of #73693 - wesleywiser:const_prop_exhaustive_match, r=oli-obkManish Goregaokar-1/+13
2020-07-02Fix missing return in `optimization_applies()`Wesley Wiser-0/+1
2020-07-02Fix debuginfo so that it points to the correct localWesley Wiser-10/+59
2020-07-02[mir-opt] Prevent mis-optimization when SimplifyArmIdentity runsWesley Wiser-2/+49
2020-07-02Rollup merge of #73684 - richkadel:llvm-coverage-map-gen-2, r=wesleywiserManish Goregaokar-56/+80
2020-07-01Rollup merge of #73778 - nbdd0121:const_likely, r=oli-obkManish Goregaokar-6/+38
2020-06-30Use exhaustive match in const_prop.rsWesley Wiser-1/+13
2020-06-30Handle inactive enum variants in `MaybeUninitializedPlaces`Dylan MacKenzie-0/+1
2020-06-30Stabilize casts and coercions to `&[T]` in const fnOliver Scherer-2/+11
2020-06-30update `equal_up_to_regions`Bastian Kauschke-5/+5
2020-06-29add spans to injected coverage countersRich Kadel-56/+80
2020-06-28Auto merge of #72437 - ecstatic-morse:stabilize-const-if-match, r=oli-obkbors-94/+1
2020-06-28Stop checking for `while` and `loop` in a const contextDylan MacKenzie-19/+0
2020-06-28MIR const-checkingDylan MacKenzie-33/+1
2020-06-28Remove `control_flow_destroyed` and properly lower `&&` and `||`Dylan MacKenzie-42/+0
2020-06-28Rollup merge of #73757 - oli-obk:const_prop_hardening, r=wesleywiserManish Goregaokar-11/+57
2020-06-28Erase all block-only locals at the end of every block, even if they have not ...Oliver Scherer-11/+57
2020-06-27Rollup merge of #73708 - Aaron1011:feature/reland-move-fn-self-msg, r=davidtwcoManish Goregaokar-0/+1
2020-06-27Rollup merge of #72796 - RalfJung:mir-assign-sanity, r=matthewjasperManish Goregaokar-12/+147
2020-06-27Fix ICE for lib featuresGary Guo-4/+25
2020-06-26Rollup merge of #73728 - oli-obk:const_prop_cleanup, r=wesleywiserManish Goregaokar-6/+13
2020-06-26Fix allow_internal_unstable with rustc_const_unstableGary Guo-7/+18
2020-06-26Explain move errors that occur due to method calls involving `self`Aaron Hill-0/+1
2020-06-26Show the values and computation that would overflow a const evaluation or pro...Oliver Scherer-30/+40
2020-06-25Document some invariants correctly/moreOliver Scherer-6/+13
2020-06-24Emit line info for generator variantsTyler Mandry-1/+21
2020-06-23Rollup merge of #73613 - oli-obk:const_prop_miscompile, r=wesleywiserManish Goregaokar-16/+38
2020-06-23Rollup merge of #73488 - richkadel:llvm-coverage-map-gen, r=tmandryManish Goregaokar-56/+158
2020-06-23Rollup merge of #73244 - ecstatic-morse:validate-generator-mir, r=tmandryManish Goregaokar-56/+213
2020-06-23The const propagator cannot trace references.Oliver Scherer-16/+38
2020-06-23Auto merge of #73643 - Manishearth:rollup-68dr8fz, r=Manishearthbors-33/+22
2020-06-23Rollup merge of #73515 - christianpoveda:livedrop-diagnostics, r=oli-obkManish Goregaokar-7/+13
2020-06-23Rollup merge of #73398 - oli-obk:const_raw_ptr_cmp, r=varkor,RalfJung,nagisaManish Goregaokar-26/+9
2020-06-22Updated query for num_counters to compute from max indexRich Kadel-4/+24
2020-06-22using "mir_body" (vs "body") in InstrumentCoverageRich Kadel-2/+2
2020-06-22moves coverage data computation from pass to queryRich Kadel-30/+37