rust/compiler/rustc_const_eval/src/interpret
bors 27eb6d7018 Auto merge of #98627 - RalfJung:interpret-arith, r=lcnr
interpret: don't rely on ScalarPair for overflowed arithmetic

This is for https://github.com/rust-lang/rust/pull/97861.
Cc `@eddyb`

I would like to avoid making this depend on `dest.layout.abi` to avoid a branch that we are not usually covering both sides of. Though OTOH this seems like fairly straight-forward code. But let's benchmark this option first to see how bad that extra `force_allocation` really is.
2022-07-04 20:00:41 +00:00
..
intrinsics tweak some bug!s 2022-06-04 11:15:36 -04:00
cast.rs Auto merge of #91743 - cjgillot:enable_mir_inlining_inline_all, r=oli-obk 2022-07-02 11:24:17 +00:00
eval_context.rs interpret: do not prune requires_caller_location stack frames quite so early 2022-06-26 14:42:26 -04:00
intern.rs Auto merge of #97585 - lqd:const-alloc-intern, r=RalfJung 2022-07-02 17:05:13 +00:00
intrinsics.rs interpret: unify offset_from check with offset check 2022-06-09 20:47:06 -04:00
machine.rs interpret: convert_tag_add_extra, init_allocation_extra: allow tagger to raise errors 2022-06-16 09:41:07 -07:00
memory.rs make get_relocations private 2022-06-28 22:09:29 +02:00
mod.rs make AllocKind actually public 2022-06-27 10:58:30 -04:00
operand.rs interpret: add From<&MplaceTy> for PlaceTy 2022-06-29 17:13:13 -04:00
operator.rs extra assertion, extra sure 2022-07-04 09:12:22 -04:00
place.rs interpret: add From<&MplaceTy> for PlaceTy 2022-06-29 17:13:13 -04:00
step.rs use precise spans for recursive const evaluation 2022-06-04 16:18:03 -04:00
terminator.rs interpret: do not claim UB until we looked more into variadic functions 2022-06-05 13:24:24 -04:00
traits.rs interpret: better control over whether we read data with provenance, and implicit provenance stripping where possible 2022-06-05 10:13:34 -04:00
util.rs Don't assert polymorphization has taken effect in const eval 2022-06-30 21:45:29 +02:00
validity.rs Factor out hir::Node::Binding 2022-07-01 10:04:19 -05:00
visitor.rs interpret: add From<&MplaceTy> for PlaceTy 2022-06-29 17:13:13 -04:00