| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2021-09-07 | Rename rustc_mir to rustc_const_eval. | Camille GILLOT | -585/+0 | |
| 2021-09-02 | rustc_target: move `LayoutOf` to `ty::layout`. | Eduard-Mihai Burtescu | -1/+2 | |
| 2021-08-12 | Implement `black_box` using intrinsic | Gary Guo | -1/+1 | |
| The new implementation allows some `memcpy`s to be optimized away, so the uninit value in ui/sanitize/memory.rs is constructed directly onto the return place. Therefore the sanitizer now says that the value is allocated by `main` rather than `random`. | ||||
| 2021-07-16 | get rid of incorrect erase_for_fmt | Ralf Jung | -1/+1 | |
| 2021-07-15 | adjustions and cleanup to make Miri build again | Ralf Jung | -6/+6 | |
| 2021-07-14 | consistently treat None-tagged pointers as ints; get rid of some deprecated ↵ | Ralf Jung | -3/+3 | |
| Scalar methods | ||||
| 2021-07-14 | CTFE/Miri engine Pointer type overhaul: make Scalar-to-Pointer conversion ↵ | Ralf Jung | -20/+23 | |
| 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-08 | PR feedback | Scott McMurray | -1/+2 | |
| - Add `:Sized` assertion in interpreter impl - Use `Scalar::from_bool` instead of `ScalarInt: From<bool>` - Remove unneeded comparison in intrinsic typeck - Make this UB to call with undef, not just return undef in that case | ||||
| 2021-07-08 | Stop generating `alloca`s+`memcmp` for simple array equality | Scott McMurray | -0/+18 | |
| 2021-06-05 | Explain that `ensure_monomorphic_enough` omission is intentional | Tomasz Miąsko | -0/+2 | |
| 2021-06-05 | Disallow non-monomorphic calls to `needs_drop` in interpreter | Tomasz Miąsko | -1/+4 | |
| otherwise evaluation could change after further substitutions. | ||||
| 2021-05-18 | add Align::ONE; add methods to access alloc.extra | Ralf Jung | -2/+2 | |
| 2021-05-18 | CTFE core engine allocation & memory API improvemenets | Ralf Jung | -11/+3 | |
| - make Allocation API offset-based (no more Pointer) - make Memory API higher-level (combine checking for access and getting access into one operation) | ||||
| 2021-05-07 | Rollup merge of #84972 - RalfJung:null-ptr-msg, r=oli-obk | Yuki Okushi | -1/+1 | |
| CTFE inbounds-error-messages tweak * use CheckInAllocMsg::PointerArithmeticTest for ptr_offset error * nicer errors for some null pointer cases r? `@oli-obk` | ||||
| 2021-05-06 | use CheckInAllocMsg::PointerArithmeticTest for ptr_offset error | Ralf Jung | -1/+1 | |
| 2021-05-04 | CTFE engine: rename copy → copy_intrinsic, move to intrinsics.rs | Ralf Jung | -1/+33 | |
| 2021-05-02 | Change 'NULL' to 'null' | Brent Kerby | -4/+4 | |
| 2021-03-31 | Forward some layouts to prevent recomputation | Oli Scherer | -1/+1 | |
| 2021-03-29 | Don't build a ty::Const just to take it apart again | Oli Scherer | -2/+1 | |
| 2021-03-09 | Clean up todos | kadmin | -19/+1 | |
| Also add some span_bugs where it is unreachable | ||||
| 2021-03-09 | Switch to changing cp_non_overlap in tform | kadmin | -7/+5 | |
| It was suggested to lower this in MIR instead of ssa, so do that instead. | ||||
| 2021-02-21 | rustc_mir: remove redundant wrapping of return type in numeric_intrinsic() | Matthias Krüger | -7/+3 | |
| 2021-02-16 | ./x.py fmt | Tomasz Miąsko | -2/+5 | |
| 2021-02-16 | Pass MPlaceTy by reference not value | Tomasz Miąsko | -1/+1 | |
| 2021-02-16 | Pass ImmTy by reference not value | Tomasz Miąsko | -1/+1 | |
| 2021-02-16 | Pass PlaceTy by reference not value | Tomasz Miąsko | -4/+4 | |
| 2021-02-16 | Pass OpTy by reference not value | Tomasz Miąsko | -41/+41 | |
| 2021-01-13 | Use unsigned_abs throughout repository | Jacob Pratt | -2/+2 | |
| 2020-12-30 | Rollup merge of #80491 - RalfJung:dangling-of-val, r=oli-obk | Mara Bos | -2/+4 | |
| Miri: make size/align_of_val work for dangling raw ptrs This is needed for https://github.com/rust-lang/rust/issues/80365#issuecomment-752128105. r? `@oli-obk` | ||||
| 2020-12-29 | Miri: make size/align_of_val work for dangling raw ptrs | Ralf Jung | -2/+4 | |
| 2020-12-26 | Constify intrinsics::copy[_nonoverlapping] | Albin Hedman | -0/+23 | |
| 2020-12-15 | Always run intrinsics lowering pass | Tomasz Miąsko | -23/+8 | |
| Move intrinsics lowering pass from the optimization phase (where it would not run if -Zmir-opt-level=0), to the drop lowering phase where it runs unconditionally. The implementation of those intrinsics in code generation and interpreter is unnecessary. Remove it. | ||||
| 2020-12-10 | CTFE: tweak abort-on-uninhabited message | Ralf Jung | -1/+7 | |
| 2020-12-07 | Add comment for assert_inhabited in ↵ | Albin Hedman | -0/+2 | |
| compiler/rustc_mir/src/interpret/intrinsics.rs Co-authored-by: Ralf Jung <post@ralfj.de> | ||||
| 2020-12-06 | Fix comments related to abort() | Albin Hedman | -1/+1 | |
| 2020-12-05 | abort() now takes a msg parameter | Albin Hedman | -2/+2 | |
| 2020-12-02 | Undo fn -> const fn for all intrinsics but assert_inhabited | Albin Hedman | -17/+1 | |
| 2020-12-02 | Make some of MaybeUninit's methods const | Albin Hedman | -0/+24 | |
| 2020-11-21 | List all variants of TyKind | Ngo Iok Ui | -1/+20 | |
| 2020-11-20 | Exhaustively match in variant count instrinsic | Ngo Iok Ui | -7/+10 | |
| 2020-09-20 | Add unstably const support for assume intrinsic | Lzu Tao | -0/+6 | |
| 2020-09-19 | Do not call the `const_eval` query in mir interpretation except for caching ↵ | Oliver Scherer | -1/+4 | |
| of nulary intrinsics | ||||
| 2020-09-12 | move guaranteed{ne,eq} implementation to compile-time machine | Ralf Jung | -41/+2 | |
| 2020-09-04 | Change ty.kind to a method | LeSeulArtichaut | -1/+1 | |
| 2020-08-30 | mv compiler to compiler/ | mark | -0/+537 | |
