-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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
[needs perf run] Try to improve LLVM pass ordering #46739
Conversation
@bors try |
(rust_highfive has picked a reviewer for you, use r? to override) |
[needs perf run] Simplify CFG after IndVarSimplify Fixes #45466
Let's check the perf impact of this |
☀️ Test successful - status-travis |
Could you do a perf run on this? |
Not quite right now as I don't have a connection to the perf machine, I'm waiting on @alexcrichton for it... hopefully next week after all hands, though. |
Yes unfortunately the perf machine is offline right now, we'll have access to it again this coming Monday at the latest. |
@Mark-Simulacrum @alexcrichton Is the perf machine ready now? |
Ah yes, it is indeed back online. |
Perf run queued. |
Almost no impact in terms of |
I do see a clear 1-2% regression in compile-time for opt builds |
Now with a more aggressive try. I think this needs a merge of my PR on rust-lang/llvm, and then I can try? |
Can I have a new perf run on this more aggressive pass ordering? |
This also seems to fix #46542. Looks like the earlier |
@bors try |
[needs perf run] Try to improve LLVM pass ordering Fixes #45466
☀️ Test successful - status-travis |
Perf queued. |
deep-vector-opt is 8% slower (6% more instructions), regex-opt is ~3% slower |
Nominating for discussion in the @rust-lang/compiler meeting. This causes a small regression in compile time, but enables us to optimize #45466 again. Should we land? I think yes. |
@bors r+ After discussion in the compiler meeting we decided to go forward with this PR. However, there is a sense that we need to develop a more comprehensive runtime perf suite so that we can have a better idea of the overall impact of changes like this. |
📌 Commit 6163df4 has been approved by |
[needs perf run] Try to improve LLVM pass ordering Fixes #45466
💔 Test failed - status-appveyor |
[needs perf run] Try to improve LLVM pass ordering Fixes #45466
☀️ Test successful - status-appveyor, status-travis |
Fixes #45466