1

Teach MIR inliner query cycle avoidance about const_eval_select by saethlin · Pu...

 1 month ago
source link: https://github.com/rust-lang/rust/pull/123444
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

Conversation

Member

Fixes #122659

r? tmiasko

Collaborator

r? @michaelwoerister

rustbot has assigned @michaelwoerister.
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

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

Apr 4, 2024

saethlin

marked this pull request as ready for review

April 4, 2024 04:17

Collaborator

Some changes occurred to MIR optimizations

cc @rust-lang/wg-mir-opt

Member

Author

This comment has been minimized.

rustbot

added the S-waiting-on-perf Status: Waiting on a perf run to be completed. label

Apr 4, 2024

Contributor

⌛ Trying commit b0b7c86 with merge 81b9b53...

Contributor

☀️ Try build successful - checks-actions
Build commit: 81b9b53 (81b9b5300e93bb4c02c41a6b07f805adc7d9c7ed)

1 similar comment

This comment has been minimized.

Collaborator

Finished benchmarking commit (81b9b53): comparison URL.

Overall result: ❌ regressions - no action needed

Benchmarking 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
@rustbot label: -S-waiting-on-perf -perf-regression

Instruction count

This is a highly reliable metric that was used to determine the overall result at the top of this comment.

mean range count
Regressions ❌
(primary)
0.3% [0.3%, 0.3%] 1
Regressions ❌
(secondary)
- - 0
Improvements ✅
(primary)
- - 0
Improvements ✅
(secondary)
- - 0
All ❌✅ (primary) 0.3% [0.3%, 0.3%] 1

Max RSS (memory usage)

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

Cycles

Results

Binary size

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

Bootstrap: 669.809s -> 667.914s (-0.28%)
Artifact size: 318.07 MiB -> 317.98 MiB (-0.03%)

rustbot

removed the S-waiting-on-perf Status: Waiting on a perf run to be completed. label

Apr 4, 2024

Contributor

Thanks.
@bors r+

Contributor

📌 Commit b0b7c86 has been approved by tmiasko

It is now in the queue for this repository.

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

Apr 4, 2024

Contributor

⌛ Testing commit b0b7c86 with merge c0ddaef...

Contributor

☀️ Test successful - checks-actions
Approved by: tmiasko
Pushing c0ddaef to master...

bors

added the merged-by-bors This PR was explicitly merged by bors. label

Apr 5, 2024

bors

merged commit c0ddaef into

rust-lang:master

Apr 5, 2024

12 checks passed

rustbot

added this to the 1.79.0 milestone

Apr 5, 2024

Collaborator

Finished benchmarking commit (c0ddaef): comparison URL.

Overall result: no relevant changes - no action needed

@rustbot label: -perf-regression

Instruction count

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

Max RSS (memory usage)

Results

Cycles

Results

Binary size

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

Bootstrap: 667.384s -> 669.462s (0.31%)
Artifact size: 318.04 MiB -> 318.00 MiB (-0.01%)

Oneirical

added a commit to Oneirical/rust that referenced this pull request

Apr 6, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

tmiasko

Labels
merged-by-bors This PR was explicitly merged by bors. 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

Milestone

1.79.0

Development

Successfully merging this pull request may close these issues.

Removing cold/inline(never) from slice_error_fail causes a cycle error

6 participants

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK