about summary refs log tree commit diff
AgeCommit message (Expand)AuthorLines
2018-03-08Add regression test for const propOliver Schneider-0/+28
2018-03-08Can only const prop temporariesOliver Schneider-1/+6
2018-03-08Update testsOliver Schneider-0/+24
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-54/+52
2018-03-08Move the resource limits to the session in preparation for attributes configu...Oliver Schneider-33/+22
2018-03-08Figure out const propgatable locals in a single passOliver Schneider-28/+31
2018-03-08Remove unused error E0020Oliver Schneider-13/+0
2018-03-08Update testsOliver Schneider-57/+75
2018-03-08Stabilize const_indexing featureOliver Schneider-22/+2
2018-03-08Report const eval errors at the correct spanOliver Schneider-10/+27
2018-03-08Only report bitshift lints on bitshift opsOliver Schneider-14/+16
2018-03-08rustc_passes::consts -> rvalue_promotionOliver Schneider-4/+4
2018-03-08Use IndexVec instead of FxHashMapOliver Schneider-24/+19
2018-03-08Merge const linting pass into const propOliver Schneider-206/+23
2018-03-08Remove redundant warnings in rustc_transOliver Schneider-27/+4
2018-03-08Remove single field struct by just using the fieldOliver Schneider-9/+4
2018-03-08Adjust tests to changed const err lintsOliver Schneider-27/+47
2018-03-08Remove the fragile const propagator and just do lintingOliver Schneider-123/+3
2018-03-08Deduplicate code in rustdocOliver Schneider-38/+24
2018-03-08Adjust tests to more aggressive const err lintingOliver Schneider-0/+26
2018-03-08Fix ICE in const propOliver Schneider-2/+4
2018-03-08Simplify const SIMD shuffle in transOliver Schneider-61/+30
2018-03-08Revert all changes to the instcombine passOliver Schneider-23/+77
2018-03-08Split const prop into its own passOliver Schneider-439/+520
2018-03-08Don't use scary block reorderingsOliver Schneider-56/+4
2018-03-08Report errors in statics during collecting instead of translatingOliver Schneider-69/+116
2018-03-08Add regression testsOliver Schneider-0/+58
2018-03-08Simplify code around reading/writing ConstValsOliver Schneider-90/+21
2018-03-08Accidental pasteOliver Schneider-1/+1
2018-03-08Explain the existance of `is_binop_lang_item`Oliver Schneider-0/+4
2018-03-08Remove unused error variants and const eval typesOliver Schneider-88/+2
2018-03-08Move the pattern checking code to hairOliver Schneider-27/+1195
2018-03-08only export the two check* functions from check_matchOliver Schneider-2/+3
2018-03-08The `const_eval` module is no moreOliver Schneider-16/+17
2018-03-08Move lit_to_const to `pattern` and remove the now-empty `eval` moduleOliver Schneider-119/+98
2018-03-08Remove unused functionOliver Schneider-13/+0
2018-03-08Move compare_const_vals out of `eval`Oliver Schneider-34/+31
2018-03-08Reduce noise in error reportingOliver Schneider-11/+27
2018-03-08Use Mutability enum instead of boolOliver Schneider-7/+16
2018-03-08Prefer enum instead of magic numbersOliver Schneider-3/+14
2018-03-08Stop emitting `miri failed` in error messagesOliver Schneider-1/+1
2018-03-08Rename simd shuffle function and adjust commentOliver Schneider-7/+7
2018-03-08Use layout::Integer over manual *size resolvingOliver Schneider-27/+26
2018-03-08Nuke ConstInt and Const*sizeOliver Schneider-1101/+159
2018-03-08Rename ConstVal::to_u128 to to_raw_bitsOliver Schneider-9/+9
2018-03-08Destructure Rc wrapped ErrorKind in miriOliver Schneider-16/+15
2018-03-08Add test for #45044Oliver Schneider-0/+20
2018-03-08Add test for attempting to use array indexing for conditional const evalOliver Schneider-0/+43