Skip to content

Conversation

cjgillot
Copy link
Contributor

@cjgillot cjgillot commented Sep 7, 2025

A small utility method to avoid open-coding the logic in several MIR opts.

@rustbot
Copy link
Collaborator

rustbot commented Sep 7, 2025

r? @saethlin

rustbot has assigned @saethlin.
They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

Use r? to explicitly pick a reviewer

@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. labels Sep 7, 2025
@rustbot
Copy link
Collaborator

rustbot commented Sep 7, 2025

Some changes occurred to MIR optimizations

cc @rust-lang/wg-mir-opt

@saethlin
Copy link
Member

saethlin commented Sep 7, 2025

@bors r+ rollup

Nice.

@bors
Copy link
Collaborator

bors commented Sep 7, 2025

📌 Commit 4e7a068 has been approved by saethlin

It is now in the queue for this repository.

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Sep 7, 2025
bors added a commit that referenced this pull request Sep 7, 2025
Rollup of 4 pull requests

Successful merges:

 - #146170 (fix: offline rustdoc html missing favicon)
 - #146209 (Misc LTO cleanups)
 - #146269 (feat(std): emulate flock for solaris via fcntl)
 - #146297 (Introduce PlaceContext::may_observe_address.)

r? `@ghost`
`@rustbot` modify labels: rollup
@bors bors merged commit 36557d1 into rust-lang:master Sep 7, 2025
10 checks passed
rust-timer added a commit that referenced this pull request Sep 7, 2025
Rollup merge of #146297 - cjgillot:may-observe-address, r=saethlin

Introduce PlaceContext::may_observe_address.

A small utility method to avoid open-coding the logic in several MIR opts.
@rustbot rustbot added this to the 1.91.0 milestone Sep 7, 2025
@cjgillot cjgillot deleted the may-observe-address branch September 8, 2025 00:58
@matthiaskrgr
Copy link
Member

@rust-timer build 771aa30

@rust-timer

This comment has been minimized.

@rust-timer
Copy link
Collaborator

Finished benchmarking commit (771aa30): 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.3% [0.1%, 0.4%] 8
Regressions ❌
(secondary)
0.4% [0.1%, 0.9%] 11
Improvements ✅
(primary)
-0.2% [-0.2%, -0.2%] 1
Improvements ✅
(secondary)
-2.7% [-2.9%, -2.5%] 6
All ❌✅ (primary) 0.2% [-0.2%, 0.4%] 9

Max RSS (memory usage)

Results (primary -0.3%, secondary 1.5%)

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

mean range count
Regressions ❌
(primary)
1.7% [1.4%, 2.0%] 2
Regressions ❌
(secondary)
1.5% [0.8%, 2.3%] 3
Improvements ✅
(primary)
-2.3% [-3.1%, -1.5%] 2
Improvements ✅
(secondary)
- - 0
All ❌✅ (primary) -0.3% [-3.1%, 2.0%] 4

Cycles

This benchmark run did not return any relevant results for this metric.

Binary size

This benchmark run did not return any relevant results for this metric.

Bootstrap: 467.642s -> 466.96s (-0.15%)
Artifact size: 387.46 MiB -> 387.46 MiB (-0.00%)

@rustbot rustbot added the perf-regression Performance regression. label Sep 8, 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-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. 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.

6 participants