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

Allocate HIR on an arena 4/4 #67032

Merged
merged 8 commits into from
Dec 31, 2019
Merged

Allocate HIR on an arena 4/4 #67032

merged 8 commits into from
Dec 31, 2019

Conversation

cjgillot
Copy link
Contributor

@cjgillot cjgillot commented Dec 4, 2019

This is the fourth and last PR in the series started by #66931, #66936 and #66942.

The last commits should compile on their own.
The difference with the previous PR is given by cjgillot/rust@hirene-ty...hirene

A few more cleanups may be necessary, please tell me.

r? @eddyb like the other
cc @Zoxc

@hdhoang hdhoang 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 Dec 5, 2019
@bors
Copy link
Contributor

bors commented Dec 5, 2019

☔ The latest upstream changes (presumably #66815) made this pull request unmergeable. Please resolve the merge conflicts.

@nikomatsakis
Copy link
Contributor

@bors try

@bors
Copy link
Contributor

bors commented Dec 9, 2019

⌛ Trying commit d2d2d87174ffd603bf50cdc2ff45470f41fb93a7 with merge 0ec0a48c6ef3b0564708503413d7d1c44661ea02...

@nikomatsakis
Copy link
Contributor

@rust-timer queue

@rust-timer
Copy link
Collaborator

Awaiting bors try build completion

@bors
Copy link
Contributor

bors commented Dec 9, 2019

☀️ Try build successful - checks-azure
Build commit: 0ec0a48c6ef3b0564708503413d7d1c44661ea02 (0ec0a48c6ef3b0564708503413d7d1c44661ea02)

@rust-timer
Copy link
Collaborator

Queued 0ec0a48c6ef3b0564708503413d7d1c44661ea02 with parent 7de9402, future comparison URL.

@rust-timer
Copy link
Collaborator

Finished benchmarking try commit 0ec0a48c6ef3b0564708503413d7d1c44661ea02, comparison URL.

@cjgillot
Copy link
Contributor Author

For some reason, the perf link does not show anything.

@nikomatsakis
Copy link
Contributor

Yeah, seems like perf is broken in some way :(

@nikomatsakis
Copy link
Contributor

@bors try @rust-timer queue

@rust-timer
Copy link
Collaborator

Awaiting bors try build completion

@bors
Copy link
Contributor

bors commented Dec 11, 2019

🔒 Merge conflict

This pull request and the master branch diverged in a way that cannot be automatically merged. Please rebase on top of the latest master branch, and let the reviewer approve again.

How do I rebase?

Assuming self is your fork and upstream is this repository, you can resolve the conflict following these steps:

  1. git checkout hirene (switch to your branch)
  2. git fetch upstream master (retrieve the latest master)
  3. git rebase upstream/master -p (rebase on top of it)
  4. Follow the on-screen instruction to resolve conflicts (check git status if you got lost).
  5. git push self hirene --force-with-lease (update this PR)

You may also read Git Rebasing to Resolve Conflicts by Drew Blessing for a short tutorial.

Please avoid the "Resolve conflicts" button on GitHub. It uses git merge instead of git rebase which makes the PR commit history more difficult to read.

Sometimes step 4 will complete without asking for resolution. This is usually due to difference between how Cargo.lock conflict is handled during merge and rebase. This is normal, and you should still perform step 5 to update this PR.

Error message
Auto-merging src/librustdoc/clean/mod.rs
CONFLICT (content): Merge conflict in src/librustdoc/clean/mod.rs
Removing src/librustc/hir/ptr.rs
Automatic merge failed; fix conflicts and then commit the result.

@nikomatsakis
Copy link
Contributor

@Mark-Simulacrum advised to re-try and re-measure, so giving that a try...

@nikomatsakis
Copy link
Contributor

However, @cjgillot, looks like it may require a rebase before we can do that :(

@bors
Copy link
Contributor

bors commented Dec 11, 2019

☔ The latest upstream changes (presumably #66821) made this pull request unmergeable. Please resolve the merge conflicts.

@cjgillot
Copy link
Contributor Author

Rebased.

@matthewjasper
Copy link
Contributor

@bors try @rust-timer queue

@rust-timer
Copy link
Collaborator

Awaiting bors try build completion

@bors
Copy link
Contributor

bors commented Dec 11, 2019

⌛ Trying commit 7065e6f6fe1f7558a5d5c9980b02dee9a151713a with merge ca130cab255007b372e6fb2e289d84713253226e...

@bors
Copy link
Contributor

bors commented Dec 11, 2019

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

@rust-timer
Copy link
Collaborator

Queued ca130cab255007b372e6fb2e289d84713253226e with parent 90b957a, future comparison URL.

@bors
Copy link
Contributor

bors commented Dec 26, 2019

☔ The latest upstream changes (presumably #67592) made this pull request unmergeable. Please resolve the merge conflicts.

@bors
Copy link
Contributor

bors commented Dec 30, 2019

☔ The latest upstream changes (presumably #66942) made this pull request unmergeable. Please resolve the merge conflicts.

@cjgillot
Copy link
Contributor Author

Rebased.

src/librustc/hir/lowering.rs Outdated Show resolved Hide resolved
@@ -3300,7 +3298,7 @@ fn body_ids(bodies: &BTreeMap<hir::BodyId, hir::Body<'hir>>) -> Vec<hir::BodyId>

/// Helper struct for delayed construction of GenericArgs.
struct GenericArgsCtor<'hir> {
args: Vec<hir::GenericArg<'hir>>,
args: SmallVec<[hir::GenericArg<'hir>; 1]>,
Copy link
Contributor

Choose a reason for hiding this comment

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

I'd put 4 here and in GenericsCtor. 1 seems too small

@Zoxc
Copy link
Contributor

Zoxc commented Dec 30, 2019

@bors r+

@bors
Copy link
Contributor

bors commented Dec 30, 2019

📌 Commit ac8c0f4 has been approved by Zoxc

@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 Dec 30, 2019
@bors
Copy link
Contributor

bors commented Dec 31, 2019

⌛ Testing commit ac8c0f4 with merge bf2d145...

bors added a commit that referenced this pull request Dec 31, 2019
Allocate HIR on an arena 4/4

This is the fourth and last PR in the series started by #66931, #66936 and #66942.

The last commits should compile on their own.
The difference with the previous PR is given by cjgillot/rust@hirene-ty...hirene

A few more cleanups may be necessary, please tell me.

r? @eddyb like the other
cc @Zoxc
@bors
Copy link
Contributor

bors commented Dec 31, 2019

☀️ Test successful - checks-azure
Approved by: Zoxc
Pushing bf2d145 to master...

@bors bors added the merged-by-bors This PR was explicitly merged by bors. label Dec 31, 2019
@bors bors merged commit ac8c0f4 into rust-lang:master Dec 31, 2019
@cjgillot cjgillot deleted the hirene branch December 31, 2019 09:21
@Zoxc
Copy link
Contributor

Zoxc commented Dec 31, 2019

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. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

8 participants