Skip to content

[EXPERIMENT] Reimplement DestinationPropagation according to live ranges. #145541

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

Draft
wants to merge 8 commits into
base: master
Choose a base branch
from

Conversation

cjgillot
Copy link
Contributor

@rustbot rustbot added S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. labels Aug 17, 2025
@rust-log-analyzer

This comment was marked as outdated.

@cjgillot cjgillot force-pushed the dest-prop-live-range branch from 8402e97 to da2cabf Compare August 17, 2025 22:58
@rust-log-analyzer

This comment was marked as outdated.

@cjgillot cjgillot force-pushed the dest-prop-live-range branch from da2cabf to d0d5f20 Compare August 17, 2025 23:09
@cjgillot
Copy link
Contributor Author

@bors try @rust-timer queue

@rust-timer

This comment has been minimized.

rust-bors bot added a commit that referenced this pull request Aug 17, 2025
[EXPERIMENT] Reimplement DestinationPropagation according to live ranges.
@rustbot rustbot added the S-waiting-on-perf Status: Waiting on a perf run to be completed. label Aug 17, 2025
@rust-bors
Copy link

rust-bors bot commented Aug 17, 2025

⌛ Trying commit d0d5f20 with merge 9d4b3bf

To cancel the try build, run the command @bors try cancel.

1 similar comment
@rust-bors

This comment has been minimized.

@rust-bors
Copy link

rust-bors bot commented Aug 18, 2025

☀️ Try build successful (CI)
Build commit: 9d4b3bf (9d4b3bf23319cc25ade991de3dea06e46b155552, parent: 425a9c0a0e365c0b8c6cfd00c2ded83a73bed9a0)

@rust-timer

This comment has been minimized.

@rust-timer
Copy link
Collaborator

Finished benchmarking commit (9d4b3bf): comparison URL.

Overall result: ❌✅ regressions and improvements - please read the text below

Benchmarking this pull request means it may be perf-sensitive – we'll automatically label it not fit for rolling up. You can override this, but we strongly advise not to, due to possible changes in compiler perf.

Next Steps: If you can justify the regressions found in this try perf run, please do so in sufficient writing along with @rustbot label: +perf-regression-triaged. If not, please fix the regressions and do another perf run. If its results are neutral or positive, the label will be automatically removed.

@bors rollup=never
@rustbot label: -S-waiting-on-perf +perf-regression

Instruction count

Our most reliable metric. Used to determine the overall result above. However, even this metric can be noisy.

mean range count
Regressions ❌
(primary)
0.6% [0.2%, 1.2%] 11
Regressions ❌
(secondary)
0.6% [0.2%, 1.6%] 41
Improvements ✅
(primary)
-0.6% [-2.3%, -0.2%] 16
Improvements ✅
(secondary)
-0.8% [-2.4%, -0.0%] 63
All ❌✅ (primary) -0.1% [-2.3%, 1.2%] 27

Max RSS (memory usage)

Results (primary -2.8%, secondary -2.3%)

A less reliable metric. May be of interest, but not used to determine the overall result above.

mean range count
Regressions ❌
(primary)
4.1% [4.1%, 4.1%] 1
Regressions ❌
(secondary)
2.2% [1.9%, 2.5%] 2
Improvements ✅
(primary)
-5.1% [-7.6%, -1.2%] 3
Improvements ✅
(secondary)
-3.6% [-4.9%, -1.0%] 7
All ❌✅ (primary) -2.8% [-7.6%, 4.1%] 4

Cycles

Results (primary -2.6%, secondary -7.5%)

A less reliable metric. May be of interest, but not used to determine the overall result above.

mean range count
Regressions ❌
(primary)
- - 0
Regressions ❌
(secondary)
2.3% [1.3%, 3.9%] 4
Improvements ✅
(primary)
-2.6% [-2.6%, -2.6%] 1
Improvements ✅
(secondary)
-13.1% [-23.5%, -3.4%] 7
All ❌✅ (primary) -2.6% [-2.6%, -2.6%] 1

Binary size

Results (primary -0.1%, secondary -0.0%)

A less reliable metric. May be of interest, but not used to determine the overall result above.

mean range count
Regressions ❌
(primary)
0.1% [0.0%, 0.3%] 14
Regressions ❌
(secondary)
0.2% [0.0%, 0.6%] 44
Improvements ✅
(primary)
-0.1% [-0.9%, -0.0%] 40
Improvements ✅
(secondary)
-0.6% [-2.0%, -0.0%] 22
All ❌✅ (primary) -0.1% [-0.9%, 0.3%] 54

Bootstrap: 470.373s -> 469.514s (-0.18%)
Artifact size: 377.75 MiB -> 374.67 MiB (-0.82%)

@rustbot rustbot added perf-regression Performance regression. and removed S-waiting-on-perf Status: Waiting on a perf run to be completed. labels Aug 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
perf-regression Performance regression. S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants