-
Notifications
You must be signed in to change notification settings - Fork 13.3k
interpret: make read/write methods generic #114071
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
(rustbot has picked a reviewer for you, use r? to override) |
Some changes occurred to the CTFE / Miri engine cc @rust-lang/miri The Miri subtree was changed cc @rust-lang/miri Some changes occurred to MIR optimizations cc @rust-lang/wg-mir-opt |
@bors try @rust-timer queue |
This comment has been minimized.
This comment has been minimized.
⌛ Trying commit da3f0d0 with merge 738bde30e78de08f74c5b5bdb48306ca11d06d90... |
☀️ Try build successful - checks-actions |
This comment has been minimized.
This comment has been minimized.
Finished benchmarking commit (738bde30e78de08f74c5b5bdb48306ca11d06d90): comparison URL. Overall result: ✅ improvements - no action neededBenchmarking this pull request likely means that it is perf-sensitive, so we're automatically marking it as not fit for rolling up. While you can manually mark this PR as fit for rollup, we strongly recommend not doing so since this PR may lead to changes in compiler perf. @bors rollup=never Instruction countThis is a highly reliable metric that was used to determine the overall result at the top of this comment.
Max RSS (memory usage)ResultsThis is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
CyclesResultsThis is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
Binary sizeThis benchmark run did not return any relevant results for this metric. Bootstrap: 650.593s -> 650.759s (0.03%) |
@bors r+ |
📌 Commit 12b9c96c9ea960060072fc01d802b6430a0f59be has been approved by It is now in the queue for this repository. |
12b9c96
to
571e8ce
Compare
Found some more unnecessary @bors r=oli-obk |
☀️ Test successful - checks-actions |
Finished benchmarking commit (bd9785c): comparison URL. Overall result: ✅ improvements - no action needed@rustbot label: -perf-regression Instruction countThis is a highly reliable metric that was used to determine the overall result at the top of this comment.
Max RSS (memory usage)ResultsThis is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
CyclesResultsThis is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
Binary sizeThis benchmark run did not return any relevant results for this metric. Bootstrap: 650.097s -> 650.721s (0.10%) |
Instead of always having to call
into()
to convert things toPlaceTy
/OpTy
, make the relevant methods generic. This also means that when we read from anMPlaceTy
, we avoid creating an intermediatePlaceTy
.This makes it feasible to remove the
Copy
fromMPlaceTy
. All the other*Ty
interpreter types already had theirCopy
removed a while ago so this is only consistent. (And in fact we had one function that accidentally tookMPlaceTy
instead of&MPlaceTy
.)