| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2021-09-07 | Move rustc_mir::transform to rustc_mir_transform. | Camille GILLOT | -1312/+0 | |
| 2021-09-02 | ty::layout: split `LayoutOf` into required and (blanket) provided halves. | Eduard-Mihai Burtescu | -2/+2 | |
| 2021-09-02 | ty::layout: implement `layout_of` automatically as a default method. | Eduard-Mihai Burtescu | -2/+3 | |
| 2021-09-02 | rustc_target: move `LayoutOf` to `ty::layout`. | Eduard-Mihai Burtescu | -5/+4 | |
| 2021-08-27 | rustc_target: require `TyAbiInterface` in `LayoutOf`. | Eduard-Mihai Burtescu | -2/+9 | |
| 2021-08-27 | rustc_target: add lifetime parameter to `LayoutOf`. | Eduard-Mihai Burtescu | -1/+1 | |
| 2021-08-26 | review | lcnr | -4/+4 | |
| 2021-08-26 | update `TypeFlags` to deal with missing ct substs | lcnr | -5/+6 | |
| 2021-08-26 | make unevaluated const substs optional | lcnr | -1/+1 | |
| 2021-08-22 | Fix typos “an”→“a” and a few different ones that appeared in the ↵ | Frank Steffahn | -1/+1 | |
| same search | ||||
| 2021-07-16 | get rid of incorrect erase_for_fmt | Ralf Jung | -2/+2 | |
| 2021-07-15 | adjustions and cleanup to make Miri build again | Ralf Jung | -1/+1 | |
| 2021-07-14 | consistently treat None-tagged pointers as ints; get rid of some deprecated ↵ | Ralf Jung | -4/+3 | |
| Scalar methods | ||||
| 2021-07-14 | CTFE/Miri engine Pointer type overhaul: make Scalar-to-Pointer conversion ↵ | Ralf Jung | -10/+4 | |
| infallible This resolves all the problems we had around "normalizing" the representation of a Scalar in case it carries a Pointer value: we can just use Pointer if we want to have a value taht we are sure is already normalized. | ||||
| 2021-07-03 | add note about MAX_ALLOC_LIMIT | Smittyvb | -1/+1 | |
| Co-authored-by: Ralf Jung <post@ralfj.de> | ||||
| 2021-07-02 | Allocation failure in constprop panics right away | Smitty | -0/+1 | |
| 2021-06-30 | Delay ICE on evaluation fail | Smitty | -68/+15 | |
| 2021-06-30 | Properly evaluate non-consts in const prop | Smitty | -8/+51 | |
| 2021-06-30 | Simplify memory failure checking | Smitty | -17/+16 | |
| 2021-06-30 | Rename is_spurious -> is_volatile | Smitty | -2/+2 | |
| 2021-06-29 | Properly handle const prop failures | Smitty | -0/+13 | |
| 2021-06-29 | Simplify const_prop logic | Smitty | -11/+9 | |
| 2021-06-29 | Support allocation failures when interperting MIR | Smitty | -7/+11 | |
| Note that this breaks Miri. Closes #79601 | ||||
| 2021-06-17 | Use `map_or` instead of open-coding it | LingMan | -6/+3 | |
| 2021-06-16 | Stop returning a value from `report_assert_as_lint` | LingMan | -11/+14 | |
| This function only ever returns `None`. Make that explicity by not returning a value at all. | ||||
| 2021-05-23 | Pass `StackPopUnwind` to `eval_fn_call()` and some other functions that are ↵ | hyd-dev | -2/+3 | |
| called by `eval_fn_call()` | ||||
| 2021-04-20 | Tidy | Oli Scherer | -3/+3 | |
| 2021-04-20 | Implement a lint that highlights all moves larger than 1000 bytes | Oli Scherer | -13/+2 | |
| 2021-03-20 | extract `ConstKind::Unevaluated` into a struct | lcnr | -1/+5 | |
| 2021-03-15 | s/ConstantSource/ConstantKind/ | Oli Scherer | -6/+6 | |
| 2021-03-12 | Prepare mir::Constant for ty::Const only supporting valtrees | Oli Scherer | -21/+31 | |
| 2021-03-08 | Auto merge of #82727 - oli-obk:shrinkmem, r=pnkfelix | bors | -4/+5 | |
| Test the effect of shrinking the size of Rvalue by 16 bytes r? `@ghost` | ||||
| 2021-03-05 | Bump one missing mir_opt_level | Santiago Pastorino | -1/+1 | |
| 2021-03-05 | Bump all mir_opt_level 2 to 3 | Santiago Pastorino | -2/+2 | |
| 2021-03-05 | Bump all mir_opt_level 3 to 4 | Santiago Pastorino | -2/+2 | |
| 2021-03-05 | Extract mir_opt_level to a method and use Option to be able to know if the ↵ | Santiago Pastorino | -3/+3 | |
| value is provided or not | ||||
| 2021-03-05 | Shrink the size of Rvalue by 16 bytes | Oli Scherer | -4/+5 | |
| 2021-03-01 | Box generator-related Body fields | Dániel Buga | -1/+1 | |
| 2021-02-20 | all InterpError allocate now, so adjust alloc-error-check | Ralf Jung | -2/+2 | |
| 2021-02-20 | Auto merge of #82124 - tmiasko:op-ty-ref, r=oli-obk | bors | -28/+28 | |
| Pass large interpreter types by reference, not value r? `@ghost` | ||||
| 2021-02-17 | Reduce size of InterpErrorInfo to 8 bytes | Tomasz Miąsko | -1/+1 | |
| 2021-02-16 | ./x.py fmt | Tomasz Miąsko | -3/+3 | |
| 2021-02-16 | Pass PlaceTy by reference not value | Tomasz Miąsko | -9/+9 | |
| 2021-02-16 | Pass OpTy by reference not value | Tomasz Miąsko | -17/+17 | |
| 2021-01-23 | Make sure that const prop does not produce unsilenceable lints after inlining | oli | -1/+9 | |
| 2021-01-17 | Copy body span instead of querying it | Dániel Buga | -1/+1 | |
| 2021-01-12 | Auto merge of #78407 - oli-obk:ub_checkable_ctfe, r=RalfJung,pnkfelix | bors | -0/+7 | |
| Make CTFE able to check for UB... ... by not doing any optimizations on the `const fn` MIR used in CTFE. This means we duplicate all `const fn`'s MIR now, once for CTFE, once for runtime. This PR is for checking the perf effect, so we have some data when talking about https://github.com/rust-lang/const-eval/blob/master/rfcs/0000-const-ub.md To do this, we now have two queries for obtaining mir: `optimized_mir` and `mir_for_ctfe`. It is now illegal to invoke `optimized_mir` to obtain the MIR of a const/static item's initializer, an array length, an inline const expression or an enum discriminant initializer. For `const fn`, both `optimized_mir` and `mir_for_ctfe` work, the former returning the MIR that LLVM should use if the function is called at runtime. Similarly it is illegal to invoke `mir_for_ctfe` on regular functions. This is all checked via appropriate assertions and I don't think it is easy to get wrong, as there should be no `mir_for_ctfe` calls outside the const evaluator or metadata encoding. Almost all rustc devs should keep using `optimized_mir` (or `instance_mir` for that matter). | ||||
| 2021-01-10 | Add ABI argument to `find_mir_or_eval_fn` | Nym Seddon | -0/+2 | |
| Add ABI argument for called function in `find_mir_or_eval_fn` and `call_extra_fn`. Useful for comparing with expected ABI in interpreters. Related to [miri/1631](https://github.com/rust-lang/miri/issues/1631) | ||||
| 2021-01-04 | Move MIR body loading to a machine function | oli | -0/+7 | |
| 2020-12-03 | move interpret::MemoryKind::Heap to const eval | Vishnunarayan K I | -0/+2 | |
