summary refs log tree commit diff
path: root/src/librustc_mir/transform/const_prop.rs
AgeCommit message (Expand)AuthorLines
2020-07-25The const propagator cannot trace references.Oliver Scherer-10/+36
2020-05-28remove redundant `mk_const`Bastian Kauschke-1/+1
2020-05-18Add asm! to MIRAmanieu d'Antras-1/+2
2020-05-17Auto merge of #72135 - oli-obk:const_prop_deaggregates, r=wesleywiserbors-1/+24
2020-05-16Auto merge of #71665 - RalfJung:miri-intern-no-ice, r=oli-obkbors-2/+1
2020-05-14[const-prop] Don't replace Rvalues that are already constantsWesley Wiser-0/+7
2020-05-12Add some more sanity tests and add a debug log message for itOliver Scherer-0/+5
2020-05-12Propagate locals, even if they have unpropagatable assignments somewhere.Oliver Scherer-1/+19
2020-05-11Auto merge of #71953 - oli-obk:const_prop_deaggregates, r=wesleywiserbors-42/+58
2020-05-10avoid raising interpreter errors from interningRalf Jung-2/+1
2020-05-07Renamed "undef" stuff to "uninit"Hanif Bin Ariffin-13/+13
2020-05-06Const prop aggregates even if partially or fully modifiedOliver Scherer-42/+58
2020-05-04Rollup merge of #71697 - felix91gr:new_prop_into_fn_call, r=wesleywiserDylan DPC-5/+51
2020-05-03Rollup merge of #71663 - jumbatm:caller-handles-validation-error, r=RalfJungDylan DPC-5/+5
2020-05-02Added MIR constant propagation of Scalars into function call argumentsFélix Fischer-5/+51
2020-05-01Partially unrevert #70566.jumbatm-5/+5
2020-05-01InterpError printing really is more Display than DebugRalf Jung-2/+2
2020-04-29Auto merge of #71518 - felix91gr:const_prop_bugfix_just_block_prop, r=wesleyw...bors-21/+70
2020-04-28Polished documentation, removed not-so-useful-anymore traces, and added some ...Félix Fischer-6/+13
2020-04-28Allow Locals to be propagated into and from, but restricted to their own blockFélix Fischer-13/+46
2020-04-27Blocked `MutatingUseContext::Projection` for all locals of kind `LocalKind::T...Félix Fischer-4/+13
2020-04-27share some common code for compile-time miri instancesRalf Jung-56/+4
2020-04-27Auto merge of #71268 - estebank:devectorize, r=eddybbors-2/+1
2020-04-26Rollup merge of #70043 - mark-i-m:def-kind-more, r=eddybDylan DPC-4/+1
2020-04-24Revert "Move early needs_subst bailout to _after_ linting."Ralf Jung-5/+5
2020-04-24Remove `Option` from the return type of `def_kind`.Eduard-Mihai Burtescu-4/+1
2020-04-24Auto merge of #70820 - spastorino:replace-fragile-erroneous-const-sys, r=oli-obkbors-0/+6
2020-04-23Modify `as_local_hir_id` to return a bare `HirId`marmeladema-1/+1
2020-04-23Modify `as_local_hir_id` to accept a `LocalDefId` instead of a `DefId`marmeladema-4/+1
2020-04-23Make ConstPropagator only visit basic blocks when visiting bodySantiago Pastorino-0/+6
2020-04-23Rollup merge of #71005 - jonas-schievink:no-place-like-return, r=oli-obkDylan DPC-11/+7
2020-04-23Auto merge of #71312 - wesleywiser:const_prop_bitset, r=Mark-Simulacrumbors-5/+4
2020-04-22Use `Body` everywhereDylan MacKenzie-9/+7
2020-04-20const prop: don't special case return placeJonas Schievink-9/+5
2020-04-20Update const propJonas Schievink-5/+5
2020-04-20Remove some `Vec` allocations in an effort to improve perfEsteban Küber-2/+1
2020-04-19[ConstProp] Use a `BitSet<Local>` instead of `IndexVec<Local, bool>`Wesley Wiser-5/+4
2020-04-19Auto merge of #70598 - vakaras:add-threads-cr3, r=oli-obk,RalfJungbors-4/+27
2020-04-16Move stack access methods in the Machine implementations out of the enforce_ ...Vytautas Astrauskas-14/+14
2020-04-16Rollup merge of #70566 - jumbatm:exceeding-bitshifts-constprop, r=RalfJungDylan DPC-5/+5
2020-04-15Make the necessary changes to support concurrency in Miri.Vytautas Astrauskas-4/+27
2020-04-15Rollup merge of #71100 - RalfJung:miri-frame-hook, r=oli-obkMazdak Farrokhzad-2/+5
2020-04-15Move early needs_subst bailout to _after_ linting.jumbatm-5/+5
2020-04-13Miri: let machine hook dynamically decide about alignment checksRalf Jung-1/+4
2020-04-13Miri: let push_frame hook also access and mutate the rest of the frame dataRalf Jung-2/+5
2020-04-08Use `PredicateObligation`s instead of `Predicate`sEsteban Küber-1/+1
2020-04-05set span more accurately during const_propRalf Jung-2/+4
2020-04-02nix rustc_target::abi::* reexport in ty::layoutMazdak Farrokhzad-3/+2
2020-04-01Rollup merge of #70590 - RalfJung:miri-backtrace, r=oli-obkDylan DPC-3/+0
2020-04-01Rollup merge of #70627 - spastorino:use-place-directly-its-copy, r=oli-obkMazdak Farrokhzad-4/+4