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

Use PlaceBuilder to avoid a lot of slice -> vec -> slice convertions #64922

Merged
merged 1 commit into from
Oct 2, 2019

Conversation

spastorino
Copy link
Member

@spastorino spastorino commented Sep 30, 2019

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Sep 30, 2019
@spastorino
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 Sep 30, 2019

⌛ Trying commit 897aa23dc68fe81b634aaf72853b5fe8e14024e3 with merge 312f214bc826aabf7836d8893cdc87931dac5e2d...

src/librustc_mir/build/expr/as_place.rs Outdated Show resolved Hide resolved
src/librustc_mir/build/expr/as_place.rs Outdated Show resolved Hide resolved
src/librustc_mir/build/expr/as_place.rs Outdated Show resolved Hide resolved
@bors
Copy link
Contributor

bors commented Sep 30, 2019

☀️ Try build successful - checks-azure
Build commit: 312f214bc826aabf7836d8893cdc87931dac5e2d (312f214bc826aabf7836d8893cdc87931dac5e2d)

@rust-timer
Copy link
Collaborator

Queued 312f214bc826aabf7836d8893cdc87931dac5e2d with parent e0436d9, future comparison URL.

@rust-timer
Copy link
Collaborator

Finished benchmarking try commit 312f214bc826aabf7836d8893cdc87931dac5e2d, comparison URL.

@spastorino
Copy link
Member Author

@bors try @rust-timer queue

@bors
Copy link
Contributor

bors commented Oct 1, 2019

⌛ Trying commit ff717bba4cd1cd1e68846c5271683e175bc8e76d with merge 909a0a18abbca972f3de8907328564b5b7e2c01f...

@oli-obk
Copy link
Contributor

oli-obk commented Oct 1, 2019

@rust-timer abort

@oli-obk oli-obk closed this Oct 1, 2019
@oli-obk oli-obk reopened this Oct 1, 2019
@mati865
Copy link
Contributor

mati865 commented Oct 1, 2019

@oli-obk perf.rlo has crashed

@Centril
Copy link
Contributor

Centril commented Oct 1, 2019

@bors retry

@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 1, 2019
@oli-obk
Copy link
Contributor

oli-obk commented Oct 1, 2019

I don't want to try or perf run, I wanted to abort it 😆

@oli-obk oli-obk closed this Oct 1, 2019
@oli-obk oli-obk reopened this Oct 1, 2019
@Centril
Copy link
Contributor

Centril commented Oct 1, 2019

@oli-obk My command was unrelated ;) I wanted to make my rollup go test (bors queue was stuck).

Copy link
Contributor

@nikomatsakis nikomatsakis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me! I left a nit (request for a comment). I also mentioned pulling this into its own file, but after reading the whole PR I'm not sure if it makes sense or not.

src/librustc_mir/build/expr/as_place.rs Show resolved Hide resolved
src/librustc_mir/build/expr/as_place.rs Show resolved Hide resolved
@nikomatsakis
Copy link
Contributor

nikomatsakis commented Oct 2, 2019

r=me with comments -- unless @oli-obk would prefer a chance to review, of course

@spastorino
Copy link
Member Author

@bors r=nikomatsakis

@bors
Copy link
Contributor

bors commented Oct 2, 2019

📌 Commit 79dc862 has been approved by nikomatsakis

@spastorino spastorino requested a review from oli-obk October 2, 2019 15:07
Centril added a commit to Centril/rust that referenced this pull request Oct 2, 2019
…komatsakis

Use PlaceBuilder to avoid a lot of slice -> vec -> slice convertions

r? @oli-obk
bors added a commit that referenced this pull request Oct 2, 2019
Rollup of 13 pull requests

Successful merges:

 - #64581 (Fix unreachable_code warnings for try{} block ok-wrapped expressions)
 - #64850 (Remove inlines from DepNode code)
 - #64914 (regression test for 64453 borrow check error.)
 - #64922 (Use PlaceBuilder to avoid a lot of slice -> vec -> slice convertions)
 - #64948 (Improve sidebar styling to make its integration easier)
 - #64961 (Make comment about dummy type a bit more clear)
 - #64967 (Don't mark borrows of zero-sized arrays as indirectly mutable)
 - #64973 (Fix typo while setting `compile-flags` in test)
 - #64980 (Enable support for `IndirectlyMutableLocals` in `rustc_peek` )
 - #64989 (Fix ICE #64964)
 - #64991 ([const-prop] Correctly handle locals that can't be propagated)
 - #64995 (Remove rustdoc warning)
 - #64997 (rustc book: nitpick SLP vectorization)

Failed merges:

r? @ghost
@bors bors merged commit 79dc862 into rust-lang:master Oct 2, 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.

8 participants