Skip to content
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

Default to disabling the new pass manager for the s390x arch targets. #89666

Conversation

hkratz
Copy link
Contributor

@hkratz hkratz commented Oct 8, 2021

This hack disables the new LLVM pass manager by default for s390x arch targets until the performance issues are fixed (see #89609). The command line option -Z new-llvm-pass-manager=(yes|no) continues to take precedence over this default.

@rust-highfive
Copy link
Collaborator

r? @jackh726

(rust-highfive has picked a reviewer for you, use r? to override)

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Oct 8, 2021
@hkratz hkratz marked this pull request as ready for review October 8, 2021 11:00
@hkratz hkratz force-pushed the disable_new_llvm_pass_manager_on_s390x_take_two branch from 84cfa17 to 91801b1 Compare October 8, 2021 12:51
@hkratz hkratz force-pushed the disable_new_llvm_pass_manager_on_s390x_take_two branch from 91801b1 to 4593d78 Compare October 8, 2021 13:05
@nagisa
Copy link
Member

nagisa commented Oct 8, 2021

@bors r+

Thanks!

@bors
Copy link
Contributor

bors commented Oct 8, 2021

📌 Commit 4593d78 has been approved by nagisa

@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 Oct 8, 2021
@nagisa
Copy link
Member

nagisa commented Oct 8, 2021

cc @nikic @cuviper

@camelid
Copy link
Member

camelid commented Oct 8, 2021

Should the priority of this be bumped since it fixes CI timeouts and in general may speed up CI? E.g., to p=1.

GuillaumeGomez added a commit to GuillaumeGomez/rust that referenced this pull request Oct 8, 2021
…anager_on_s390x_take_two, r=nagisa

Default to disabling the new pass manager for the s390x arch targets.

This hack disables the new LLVM pass manager by default for s390x arch targets until the performance issues are fixed (see rust-lang#89609). The command line option `-Z new-llvm-pass-manager=(yes|no)` continues to take precedence over this default.
@camelid
Copy link
Member

camelid commented Oct 8, 2021

@bors p=1

@bors
Copy link
Contributor

bors commented Oct 8, 2021

⌛ Testing commit 4593d78 with merge 54bb4fe...

@camelid
Copy link
Member

camelid commented Oct 8, 2021

The rollup this is a part of failed, and the next PR in the queue was #88379, which is blocked by this one. So, I bumped the priority of this one so that it merges before #88379.

@bors
Copy link
Contributor

bors commented Oct 8, 2021

☀️ Test successful - checks-actions
Approved by: nagisa
Pushing 54bb4fe to master...

@bors bors added the merged-by-bors This PR was explicitly merged by bors. label Oct 8, 2021
@bors bors merged commit 54bb4fe into rust-lang:master Oct 8, 2021
@rustbot rustbot added this to the 1.57.0 milestone Oct 8, 2021
@cuviper
Copy link
Member

cuviper commented Oct 8, 2021

auto (dist-s390x-linux, ubuntu-latest-xl)
succeeded 2 hours ago in 41m 27s

🎉

@rust-timer
Copy link
Collaborator

Finished benchmarking commit (54bb4fe): comparison url.

Summary: This benchmark run did not return any relevant changes.

If you disagree with this performance assessment, please file an issue in rust-lang/rustc-perf.

@rustbot label: -perf-regression

@hkratz hkratz deleted the disable_new_llvm_pass_manager_on_s390x_take_two branch November 6, 2021 20:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

9 participants