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

[mir-opt] Handle return place in ConstProp and improve SimplifyLocals pass #66216

Merged
merged 2 commits into from
Nov 10, 2019

Conversation

wesleywiser
Copy link
Member

Temporarily rebased on top of #66074. The top 2 commits are new.

r? @oli-obk

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Nov 8, 2019
@wesleywiser wesleywiser force-pushed the const_prop_codegen_improvements branch from b7c5e63 to 9e515d0 Compare November 8, 2019 11:16
@wesleywiser
Copy link
Member Author

@bors try
@rust-timer queue

@rust-timer
Copy link
Collaborator

Awaiting bors try build completion

@bors
Copy link
Contributor

bors commented Nov 8, 2019

⌛ Trying commit 9e515d06c298e2d5b8639cd7ff20a4beca5b272d with merge 8dcd1f6f3ef0c78f6de84084d375f219df493843...

@bors
Copy link
Contributor

bors commented Nov 8, 2019

☀️ Try build successful - checks-azure
Build commit: 8dcd1f6f3ef0c78f6de84084d375f219df493843 (8dcd1f6f3ef0c78f6de84084d375f219df493843)

@rust-timer
Copy link
Collaborator

Queued 8dcd1f6f3ef0c78f6de84084d375f219df493843 with parent 76ade3e, future comparison URL.

@rust-timer
Copy link
Collaborator

Finished benchmarking try commit 8dcd1f6f3ef0c78f6de84084d375f219df493843, comparison URL.

@wesleywiser
Copy link
Member Author

As expected, this shows a slight improvement over #66074. I'll apply @Centril's suggestion, rebase out #66074, and then r+ per @oli-obk's approval review.

@wesleywiser wesleywiser force-pushed the const_prop_codegen_improvements branch from 9e515d0 to 4505ff4 Compare November 9, 2019 03:44
@wesleywiser
Copy link
Member Author

@bors r=oli-obk

@bors
Copy link
Contributor

bors commented Nov 9, 2019

📌 Commit 4505ff4 has been approved by oli-obk

@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 Nov 9, 2019
@mark-i-m
Copy link
Member

mark-i-m commented Nov 9, 2019

Woah, look at that perf! 💨

@wesleywiser
Copy link
Member Author

Just a small note, the performance improvements are from #66074 which this PR used to be based on top of. We won't see those improvements until that PR is merged.

JohnTitor added a commit to JohnTitor/rust that referenced this pull request Nov 10, 2019
…ovements, r=oli-obk

[mir-opt] Handle return place in ConstProp and improve SimplifyLocals pass

Temporarily rebased on top of rust-lang#66074. The top 2 commits are new.

r? @oli-obk
bors added a commit that referenced this pull request Nov 10, 2019
Rollup of 7 pull requests

Successful merges:

 - #65719 (Refactor sync::Once)
 - #65831 (Don't cast directly from &[T; N] to *const T)
 - #66048 (Correct error in documentation for Ipv4Addr method)
 - #66058 (Correct deprecated `is_global` IPv6 documentation)
 - #66216 ([mir-opt] Handle return place in ConstProp and improve SimplifyLocals pass)
 - #66217 (invalid_value lint: use diagnostic items)
 - #66235 (rustc_metadata: don't let LLVM confuse rmeta blobs for COFF object files.)

Failed merges:

r? @ghost
@bors bors merged commit 4505ff4 into rust-lang:master Nov 10, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
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.

7 participants