summary refs log tree commit diff
path: root/src/librustc_mir/transform/const_prop.rs
AgeCommit message (Expand)AuthorLines
2018-04-25Only warn on erroneous promoted constantsOliver Schneider-2/+2
2018-03-08simplify constant value pair field accessOliver Schneider-6/+1
2018-03-08Unify the const folding errorsOliver Schneider-31/+111
2018-03-08Generator assertions are unconditionally triggeredOliver Schneider-4/+6
2018-03-08Don't use the undefined bytes of PrimVal::BytesOliver Schneider-3/+2
2018-03-08Unregress error spans in constant errorsOliver Schneider-1/+1
2018-03-08Tidy fixOliver Schneider-4/+2
2018-03-08Update testsOliver Schneider-1/+1
2018-03-08Report all errors other than those about insufficient type informationOliver Schneider-2/+4
2018-03-08Compute the ParamEnv only once and use it to call tcx.const_evalOliver Schneider-9/+25
2018-03-08Can only const prop temporariesOliver Schneider-1/+6
2018-03-08Simplify const propagator by removing unused code pathsOliver Schneider-71/+52
2018-03-08Rename OptimizationFinder and don't propagate any borrowsOliver Schneider-38/+12
2018-03-08Simplify const prop checks through PlaceContextOliver Schneider-53/+51
2018-03-08Figure out const propgatable locals in a single passOliver Schneider-28/+30
2018-03-08Update testsOliver Schneider-3/+4
2018-03-08Only report bitshift lints on bitshift opsOliver Schneider-14/+16
2018-03-08Use IndexVec instead of FxHashMapOliver Schneider-24/+19
2018-03-08Merge const linting pass into const propOliver Schneider-1/+23
2018-03-08Remove single field struct by just using the fieldOliver Schneider-9/+4
2018-03-08Remove the fragile const propagator and just do lintingOliver Schneider-123/+3
2018-03-08Fix ICE in const propOliver Schneider-2/+4
2018-03-08Revert all changes to the instcombine passOliver Schneider-14/+69
2018-03-08Split const prop into its own passOliver Schneider-0/+513