-
Notifications
You must be signed in to change notification settings - Fork 13.8k
DestinationPropagation: avoid creating overlapping assignments. #146516
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
Some changes occurred to MIR optimizations cc @rust-lang/wg-mir-opt |
This comment has been minimized.
This comment has been minimized.
DefUse::Def | DefUse::PartialWrite => { | ||
if let Some(relevant) = relevant.shrink[place.local] { | ||
values.insert(relevant, twostep); | ||
let is_simple_assignment = |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This could use an explanatory comment: overlaps aren't allowed so we can only treat the source and destination of an assignment as disjoint if they are "simple" and in a form we can later eliminate at the end of this pass.
4174cd6
to
aee7d70
Compare
This comment was marked as outdated.
This comment was marked as outdated.
7d19a6d
to
8a93820
Compare
8a93820
to
8811344
Compare
@bors r+ |
☀️ Test successful - checks-actions |
What is this?This is an experimental post-merge analysis report that shows differences in test outcomes between the merged PR and its parent PR.Comparing 8a1b399 (parent) -> eec6bd9 (this PR) Test differencesShow 4 test diffsStage 1
Stage 2
Additionally, 2 doctest diffs were found. These are ignored, as they are noisy. Job group index
Test dashboardRun cargo run --manifest-path src/ci/citool/Cargo.toml -- \
test-dashboard eec6bd9d69832f57341c6de6a93fa7b9f47e2111 --output-dir test-dashboard And then open Job duration changes
How to interpret the job duration changes?Job durations can vary a lot, based on the actual runner instance |
Finished benchmarking commit (eec6bd9): comparison URL. Overall result: ✅ improvements - no action needed@rustbot label: -perf-regression Instruction countOur most reliable metric. Used to determine the overall result above. However, even this metric can be noisy.
Max RSS (memory usage)This benchmark run did not return any relevant results for this metric. CyclesThis benchmark run did not return any relevant results for this metric. Binary sizeThis benchmark run did not return any relevant results for this metric. Bootstrap: 473.032s -> 473.048s (0.00%) |
r? @Amanieu
Fixes #146383