summary refs log tree commit diff
path: root/src/librustc_mir/transform
AgeCommit message (Expand)AuthorLines
2020-01-27don't clone types that are copy, round two.Matthias Krüger-17/+13
2020-01-23Make pointers to statics internalMatthew Jasper-22/+24
2020-01-22librustc_mir: don't allocate vectors where slices will do.Matthias Krüger-3/+3
2020-01-21Auto merge of #68423 - Centril:rollup-bdjykrv, r=Centrilbors-2/+9
2020-01-21Rollup merge of #68140 - ecstatic-morse:const-trait-bound-opt-out, r=oli-obkMazdak Farrokhzad-2/+9
2020-01-21Auto merge of #65672 - ecstatic-morse:unified-dataflow-proto, r=pnkfelixbors-10/+12
2020-01-21Rollup merge of #68297 - Aaron1011:fix/new-const-prop-bounds, r=oli-obkYuki Okushi-22/+22
2020-01-20Add `constness` field to `ty::Predicate::Trait`Dylan MacKenzie-2/+9
2020-01-20Rollup merge of #68353 - Centril:code-liberation, r=petrochenkovDylan DPC-5/+0
2020-01-18[const-prop] Run `x.py fmt`Wesley Wiser-5/+1
2020-01-18[const-prop] Remove useless typedefWesley Wiser-7/+5
2020-01-18remove rustc_error_codes deps except in rustc_driverMazdak Farrokhzad-5/+0
2020-01-18Auto merge of #68170 - wesleywiser:stop_const_prop_ref_taking, r=oli-obkbors-20/+3
2020-01-17Stop treating `FalseEdges` and `FalseUnwind` as having semantic value for con...Oliver Scherer-13/+6
2020-01-17Fix typoAaron Hill-1/+1
2020-01-16Filter and test predicates using `normalize_and_test_predicates` for const-propAaron Hill-22/+22
2020-01-15Auto merge of #67603 - oli-obk:no_mut_static_ref_from_const, r=RalfJungbors-4/+4
2020-01-15Rollup merge of #67914 - Aaron1011:fix/const-prop-impossible, r=matthewjasper...Yuki Okushi-0/+41
2020-01-15Promoteds can contain raw pointers, but these must still only point to immuta...Oliver Scherer-4/+4
2020-01-14Use unified dataflow framework in `check_consts`Dylan MacKenzie-10/+12
2020-01-14Add unreachable propagation mir optimization passKonstantinos Triantafyllou-0/+110
2020-01-13Use TraitQueryMode::Canonical when testing predicates in const propAaron Hill-0/+16
2020-01-13Fix typoAaron Hill-1/+1
2020-01-13Don't run const propagation on items with inconsistent boundsAaron Hill-0/+25
2020-01-12Turn off const propagation of ref takingWesley Wiser-20/+3
2020-01-12Auto merge of #67901 - matthewjasper:split-mir-build, r=nagisabors-7/+4
2020-01-12Split `rustc_mir::{build, hair, lints}` into their own crateMatthew Jasper-7/+4
2020-01-12Rollup merge of #68045 - Centril:liberate-lints, r=Mark-SimulacrumMazdak Farrokhzad-5/+5
2020-01-11Auto merge of #67000 - spastorino:remove-promoted-from-place, r=oli-obkbors-206/+208
2020-01-11Rollup merge of #68114 - ecstatic-morse:fix-feature-gating, r=CentrilMazdak Farrokhzad-1/+15
2020-01-11reduce diversity in linting methodsMazdak Farrokhzad-5/+5
2020-01-10Expand commentecstatic-morse-1/+2
2020-01-11Rollup merge of #68079 - varkor:E0013-clarify, r=CentrilMazdak Farrokhzad-5/+7
2020-01-11simplify feature_err importsMazdak Farrokhzad-1/+1
2020-01-10Only require `allow_internal_unstable` for stable `const fn`Dylan MacKenzie-1/+14
2020-01-10Clarify suggestion for E0013varkor-5/+7
2020-01-10Errors in promoteds may only cause lints not hard errorsOliver Scherer-5/+13
2020-01-10Do not store lint_rootSantiago Pastorino-9/+13
2020-01-10Use re_erased instead of re_staticSantiago Pastorino-3/+3
2020-01-10Remove PlaceBase enum and make Place base field be local: LocalSantiago Pastorino-126/+87
2020-01-10Remove Static from PlaceBaseSantiago Pastorino-53/+23
2020-01-10Remove StaticKindSantiago Pastorino-3/+3
2020-01-10Remove StaticKind::PromotedSantiago Pastorino-3/+0
2020-01-10Add promoted_operand closure to reuse code across differentSantiago Pastorino-54/+20
2020-01-10Promote `Argument`s to constants instead of staticsSantiago Pastorino-17/+19
2020-01-10Promote `Repeat`s to constants instead of staticsSantiago Pastorino-4/+19
2020-01-10Promote `Ref`s to constants instead of staticSantiago Pastorino-42/+121
2020-01-10Rollup merge of #67501 - oli-obk:test-slice-patterns, r=RalfJungMazdak Farrokhzad-1/+2
2020-01-10Rollup merge of #67967 - JohnTitor:fix-ice-0107, r=matthewjasperYuki Okushi-1/+7
2020-01-09Rollup merge of #67979 - Centril:hir-cleanup, r=ZoxcMazdak Farrokhzad-4/+9